| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		hc2995 -
 
  Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
  | 
		
			
				 Posted: Mon Apr 16, 2007 5:37 am    Post subject: Possible to program C++ in notepad? | 
				      | 
			 
			
				
  | 
			 
			
				Just a question, i have a C++ programming guide from school so iv been learning it a bit, but i dont know if i can use notepad to code C++ (the guide didnt mention what to program it in) _________________ Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		cmxflash -
 
  Joined: 11 Dec 2004 Posts: 872
 
  | 
		
			
				 Posted: Mon Apr 16, 2007 6:09 am    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				| You can, but I recommend another editor with syntax highlighting such as Crimson Editor or Dev-C++. | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		hc2995 -
 
  Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
  | 
		
			
				 Posted: Mon Apr 16, 2007 7:44 am    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				SO which editor would you recommend the 2 you mentioned look good. Also, i have a program called PSPad ( http://www.pspad.com ) _________________ Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		aprelium -
 
  Joined: 22 Mar 2002 Posts: 6800
 
  | 
		
			
				 Posted: Mon Apr 16, 2007 9:05 am    Post subject: Re: Possible to program C++ in notepad? | 
				      | 
			 
			
				
  | 
			 
			
				hc2995,
 
 
You can use any text editor to program in C/C++.
 
 
Write the code in a file and then open your command line window and execute the commands to compile that file into an executable. _________________ Support Team
 
Aprelium - http://www.aprelium.com | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		hc2995 -
 
  Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
  | 
		
			
				 Posted: Mon Apr 16, 2007 12:31 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				Humm, havent gotten to compiling yet lol. I also have another question, say i make a program that has a bunch of files (sound, images, ETC...) would compiling it make it into an installer, or do i need something. I noticed that lots of programs use install shield, is it free? or do i need to buy it? _________________ Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		cmxflash -
 
  Joined: 11 Dec 2004 Posts: 872
 
  | 
		 | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		hc2995 -
 
  Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
  | 
		
			
				 Posted: Tue Apr 17, 2007 9:59 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				
 
 
 
 
Thanks for the link, i have one final question:
 
 
The book i got from school is kinda old (they are using MS Visual C++ 5.0 on a win 95 machine) so i just wanted to know if anyone knows a good site to learn C++? Im looking at the library for C++ for dummies, but nothing yet _________________ Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		cmxflash -
 
  Joined: 11 Dec 2004 Posts: 872
 
  | 
		 | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		hc2995 -
 
  Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
  | 
		
			
				 Posted: Tue Apr 17, 2007 11:29 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				Ok i will, last question (promise this time) if i code c++ will it compile the same in Linux and Windows? or is it two different codes? _________________ Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		olly86 -
 
  Joined: 25 Apr 2003 Posts: 993 Location: Wiltshire, UK
  | 
		
			
				 Posted: Tue Apr 17, 2007 11:38 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				The code should compile fine in both OSs.  However, if the program is compiled in Windows it can only be run in Windows, and likewise for Linux. _________________ Olly | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		hc2995 -
 
  Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
  | 
		
			
				 Posted: Tue Apr 17, 2007 11:40 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				 	  | olly86 wrote: | 	 		  | The code should compile fine in both OSs.  However, if the program is compiled in Windows it can only be run in Windows, and likewise for Linux. | 	  
 
 
Thanks for clearing that up :D
 
 
 
As for every one else that posted, thanks for the help, im going to get learning now, maybe make some kind of web browser :P, ill be in touch :D _________________ Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		 |