Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 02-05-2008, 04:38 PM   #1
Guru
 
JogaBonito1502's Avatar
 
Join Date: Jan 2008
Location: U.S.
Posts: 7,841
Arrow #pragma

Hello,

I have just started learning (by myself, online) how to create my own headers and link them with my source .cpp files. I have looked around online plenty of times for

#pragma argsused

but I cannot figure out what this line of code does.

HELP!
__________________

JogaBonito1502 is offline   Reply With Quote
Old 02-06-2008, 09:02 AM   #2
Daemon Poster
 
xtremezx2's Avatar
 
Join Date: Sep 2006
Posts: 915
Default Re: #pragma

take a look here at the wiki:
http://en.wikibooks.org/wiki/Ada_Programming/Pragmas
__________________

xtremezx2 is offline   Reply With Quote
Old 02-06-2008, 04:38 PM   #3
Guru
 
JogaBonito1502's Avatar
 
Join Date: Jan 2008
Location: U.S.
Posts: 7,841
Default Re: #pragma

sure...lol i forgot to look there....everywhere but wiki.
JogaBonito1502 is offline   Reply With Quote
Old 02-06-2008, 04:40 PM   #4
Guru
 
JogaBonito1502's Avatar
 
Join Date: Jan 2008
Location: U.S.
Posts: 7,841
Default Re: #pragma

Well...this doesn't say anything of #pragma argsused

does that mean it's a user created pragma? that's the best I could come up with.
JogaBonito1502 is offline   Reply With Quote
Old 02-07-2008, 04:03 PM   #5
Daemon Poster
 
xtremezx2's Avatar
 
Join Date: Sep 2006
Posts: 915
Default Re: #pragma

did you get this off a web site, or in a working program. It looks like argsused is a placeholder to show you where to type the name. Not sure though, never heard of it.
xtremezx2 is offline   Reply With Quote
Old 02-07-2008, 04:43 PM   #6
Guru
 
JogaBonito1502's Avatar
 
Join Date: Jan 2008
Location: U.S.
Posts: 7,841
Default Re: #pragma

well i was reading this tutorial from http://www.functionx.com/cpp/Lesson07.htm
it is in one of the code lines showns near the top.

What you said does make sense tho.
__________________

JogaBonito1502 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off



All times are GMT -5. The time now is 06:27 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0