Register
Members List
Social Groups
Search
Today's Posts
Mark Forums Read
Member Login
Remember Me?
Sign Up!
|
Forgot Password
Computer Forums
>
Programmers Lounge
>
Programming Discussions
» C# Question >.< CAUTION VERY VERY NOOB
LinkBack
Thread Tools
Display Modes
07-20-2007, 10:48 PM
#
1
(
permalink
)
NurthinAziz
True Techie
Join Date: Jun 2006
Location: Sacramento, CA
Posts: 148
C# Question >.< CAUTION VERY VERY NOOB
Hehe hi, thanks for at least reading this =) Well I need to know why I'm not able to compile and run this properly
#include (stdio.h)
int main()
{
printf( "Hello world.\n" );
getchar();
return 0;
}
07-21-2007, 02:18 AM
#
2
(
permalink
)
jaeusm
Software Developer
Join Date: Mar 2006
Location: Columbus, OH
Posts: 569
Re: C# Question >.< CAUTION VERY VERY NOOB
I think your main problem is that the code you posted is
not
a C# program -- it's a C program with a syntax error on the first line (replace the parentheses as shown below):
Code:
#include <stdio.h>
You'll need a C compiler to compile the program.
07-21-2007, 08:33 PM
#
3
(
permalink
)
NurthinAziz
True Techie
Join Date: Jun 2006
Location: Sacramento, CA
Posts: 148
Re: C# Question >.< CAUTION VERY VERY NOOB
Oh snap, sorry I kept looking at the printf... line >.< and thankyou
«
How to create menus in vb.net
|
Browser Resize image question
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
Forum Rules
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
RAID question?
Ice8168
Building, Buying, or Upgrading High Performance PC Systems
15
07-20-2007
05:19 PM
Front panel header noob question
dwu182
Hardware Troubleshooting
5
06-23-2007
01:34 AM
question about my processor socket
siddanth3
Building, Buying, or Upgrading High Performance PC Systems
10
04-27-2007
01:14 AM
Noob Question
waytoosmall
Computer Audio & Multimedia
7
04-23-2007
07:19 PM
Case Fan Question
Shafra
Overclocking, Case Mod, Tweaking PC Performance
10
04-18-2007
06:42 PM
Contact Us
-
Computer Technology Forums
-
Archive
-
Top
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Furl this Thread!