Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 25 guests online
 
Free Business and Tech Magazines and eBooks

You are here: Home
EH-Net
May 24, 2013, 07:31:11 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
  Home Help Calendar Login Register  
  Show Posts
Pages: [1]
1  Columns / Heffner / Re: [Article]-Intro to C on: November 21, 2007, 09:10:02 PM
hahahha Smiley

Thank you for the advice, I wasn't actually double clicking the .exe but I was compiling and running from within Dev c++...

when I ran it from the command prompt it worked great.

Thank you for taking the time.
2  Columns / Heffner / Re: [Article]-Intro to C on: November 21, 2007, 10:04:21 AM
hello,

If I am posting in the worng place I am sorry, I know nothing.

I am beginning the  tutorial, I have downloaded and installed Dev c++
I am running winxp Pro SP2 with all the upadates available...

when I compile and run the first example:

#include <stdio.h>
int main(int argc, char *argv[]){
printf("The name of this program is: %s\n",argv[0]);
return 0;
}

a small black system prompt box appears for about 1/4 of a second and then disappears.
It is gone before I can see if there is even writing in it.

is there a line I can add to... printf that defines the amount of time the output is displayed? 

Or is this a setup problem where I need to change something?

Thank you for any help,


Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.107 seconds with 22 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Free Business and Tech Magazines and eBooks

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.