C/C++ Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingC/C++ Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 23rd, 2006, 06:02 PM
E|2IC E|2IC is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 7 E|2IC User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 44 m 2 sec
Reputation Power: 0
Brand new programmer in need of basic help

Sup...Ive been hearing a lot about this C++ and have finally decided to try it. Turns out its a lot harder then I expected. Ive gotten a few books about it but they didnt give me a good idea of how to do anything. The only thing Ive been doing is copying what the examples are and most of the time it comes up with errors when im compiling it. anyways judging from your forums some of you might be able to help me and I hope maybe teach me a little about this C++ because it would probably be easier with someone who knows what their doing then a book and I no it will be very time consuming but if not I thank you anyways.
-E|2IC-

Reply With Quote
  #2  
Old July 24th, 2006, 01:15 AM
Itsacon's Avatar
Itsacon Itsacon is offline
Command Line Warrior
Click here for more information
 
Join Date: Aug 2004
Location: Sector ZZ9 Plural Z Alpha
Posts: 1,001 Itsacon User rank is Lance Corporal (50 - 100 Reputation Level)Itsacon User rank is Lance Corporal (50 - 100 Reputation Level)Itsacon User rank is Lance Corporal (50 - 100 Reputation Level)  Folding Points: 1000232 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1000232 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1000232 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1000232 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1000232 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1000232 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1000232 Folding Title: Super Ultimate Folder - Level 3Folding Points: 1000232 Folding Title: Super Ultimate Folder - Level 3
Time spent in forums: 6 Days 15 h 6 m 59 sec
Reputation Power: 6
Send a message via ICQ to Itsacon
What exactly is your question?
__________________
This is my code. Is it not nifty?

"The biggest problem encountered while trying to design a system that was completely foolproof, was, that people tended to underestimate the ingenuity of complete fools."
---Douglas Adams


Join the Itsacon fanclub!    
Zero Tolerance: Spammers banned so far: 280

Reply With Quote
  #3  
Old July 24th, 2006, 12:51 PM
E|2IC E|2IC is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 7 E|2IC User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 44 m 2 sec
Reputation Power: 0
If someone that knows how to use C++ could teach me at least a little about it if not more so I could start programming on my own. One problem is I dont know what I want to make with it but i think partly because I dont know what it can do or how.

Reply With Quote
  #4  
Old July 24th, 2006, 05:25 PM
xreddawg909x xreddawg909x is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2005
Posts: 91 xreddawg909x User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 1 h 27 m 20 sec
Reputation Power: 4
outstream aka what you want to show up on the screen
Code:
#include<iostream> //tells the compiler to look up definitions in the c++ library to use input output
 
using namespace std; // tells the compiler to recognize spaces between code
int main() //driver function (will learn more about functions later)
{
  cout<<"Hello World"<<endl; // cout tells the compiler what to show up on the screen
									  //<<endl means begin a new line
									 // semi colons are needed after each statement 
return 0; // funtions declared int need to return an integer value(again will learn more about function later
 
}
 


well thats a simple program try out and familiarize outputting to the screen and i'll see what more i can explain.

Reply With Quote
  #5  
Old July 24th, 2006, 08:06 PM
E|2IC E|2IC is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 7 E|2IC User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 44 m 2 sec
Reputation Power: 0
Do u have like a instant messenger or somehting so we dont have to keep posting? if not then this is fine. but ne ways i tried ur script and i got it to work after like a hour though.haha.

Reply With Quote
  #6  
Old July 24th, 2006, 10:37 PM
E|2IC E|2IC is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 7 E|2IC User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 44 m 2 sec
Reputation Power: 0
I did your script exactly how it is but it didnt stay up so i couldnt see it.. but i found out that if u put

int main(char* pszArgs[])

then before

return 0

put system ("Pause")

then have the return 0

it will stay open and say

press any key to continue...

But im probably telling you stuff you already know. haha.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingC/C++ Help > Brand new programmer in need of basic help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT