Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
67% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
2 Commented Posts
~7K People Reached
Favorite Forums
Favorite Tags

27 Posted Topics

Member Avatar for derbende

Look Argc stands for the argument counter Argv is the array of arguments here is the simplest demonstration. [code] #include <iostream> int main(int argc,char *argv[]){ int x; x=argc; cout<<x; for(;x!=0;x--){ cout<<argv[x]<<endl; cin.get(); return 0; } [/code] It's not hard to understand For example if I did ./counter arg1 arg2 a …

Member Avatar for stephendstump
0
1K
Member Avatar for senriz

Um man I don't mean to be a douche but I've never heard of filemaker 9 and if your just starting vb in my book your still a novice (no offense .) personally I would recommend any C derived language and or python and if your going to be doing …

Member Avatar for sergent
0
243
Member Avatar for Celtrix

What to code? post useful things that you do repetitively on a daily basis(must be non Windows or Mac ) specific that you would like automated but don't have the time to code?(as my machine is too slow to run windows or mac sorry :( )

Member Avatar for Celtrix
0
118
Member Avatar for marcux

Most people will tell you that mixing C and C++ isn't good but there isn't any problem with doing so, They just recommend not to because most everyone likes conforming to the standards. Technically C++ isn't just C with Classes and some other stuff but under the hood it still …

Member Avatar for Member #114696
0
236
Member Avatar for Celtrix

I'm not known to be a very memory friendly guy but after about 4 hours debugging my lua+sdl in C++ I finally figured out how to use threads but now I have another problem. I apparently have zero knowledge of memory manangement but thats kind of ok so I've narrowed …

Member Avatar for Celtrix
0
268
Member Avatar for pseudorandom21

did you install the headers manually and library manually or through an installer? ehh I wish windows had a /usr/include directory. As far as image libraries libpng is pretty good for well png's this might also be worth looking into [URL="http://cimg.sourceforge.net/"]Cimg[/URL] it was first on the list for a google …

Member Avatar for Celtrix
0
273
Member Avatar for Celtrix

I am having trouble running the lua interpreter at the same time im running sdl and am also having trouble with processing events in sdl while lua is embedded basically in some pseudo code this is what it looks like so far [CODE] #include <lua.hpp> #include <SDL/SDL.h> #include "user.hpp" int …

Member Avatar for Celtrix
0
357
Member Avatar for lenzo

You can code your GUI if you prefer but you can use Qt 4's Designer(good luck working with it I find it much easier to hard code it then to use the designer) as far a Gui libraries in general take a pick out of the litter you got GTK, …

Member Avatar for Celtrix
0
322
Member Avatar for CPT

You must first choose a base language that has support(via additional libraries and headers) for the other languages. C and C++ has additional libraries for Python,Lua,Perl,XML and some more. I'm trying my best to implement Lua in a project of mine but am stuck with parsing events with SDL while …

Member Avatar for Celtrix
0
121
Member Avatar for ryamjones

unless your planning on using this in a business there is really no reason you can't post full code. from what i could comprehend your are trying to ignore the value 100? and then print a newline ? if so [CODE] //replace value with what your are trying to compare …

Member Avatar for raptr_dflo
0
162
Member Avatar for Dante2002

A little information put huge functions in a header then #include that header usually with #include "myheader.h" or "myheader.hpp" that way if the error is in one of the functions the compiler will be a tiny bit more information in spitting errors out. also i do hope your not using …

Member Avatar for fibbo
0
221
Member Avatar for m4ster_r0shi

Optimization depends on your logic g++/gcc tries to optimize it with as little generated assembly as possible but if your logic demands that things must be done in a certain order it might not be possible to break it down any further without changing the logic. what im say is …

Member Avatar for m4ster_r0shi
0
256
Member Avatar for bopiqz

take the time to learn to code.... ill get you started [URL="http://lmgtfy.com/?q=c%2B%2B+tutorials"]Click Me[/URL] also see this link as well [URL="http://www.perlmonks.org/?node_id=193859"]How to Code a UAV[/URL]

Member Avatar for Celtrix
-2
123
Member Avatar for Celtrix

command line/terminal arguments are driving me bananas according to most of my google searchs this should work by the way i am using g++/gcc version 4.6.0 [CODE] #include <iostream> #include <string> using namespace std; int main(int argc, char **argv){ if(argc==0){ cout<<"Use -l or -ls!\n"; } if(string(argv[1])== "-l"){ //code for lua …

Member Avatar for Celtrix
0
185
Member Avatar for Celtrix

I literally hate to ask this question but I am having trouble with Qt 4 basically all I am trying to do is clear the textEdit area with clear() but I am not sure of what to do. In C++ I would just [CODE]textEdit->clear();[/CODE] and it would do so. I …

Member Avatar for vegaseat
0
168
Member Avatar for Celtrix

Hey Just thought I might post some code I've Been refining its not really useful but it shows (sort of) how to print formatted text if you have any suggestions please I've almost got the kinks out weird numbers will cause it to output weird. But if you throw 9 …

Member Avatar for Celtrix
0
163
Member Avatar for hughesadam_87

Well you could (assuming you know how to work with file i/o in python) just have it spit out all but that line Looks similar to this print='yes' If print=='yes' : PrintTofileFunctiongoeshere If getridof[1]='>' : print='no' Im sure there are better ways but im still new to python so i …

Member Avatar for hughesadam_87
0
164
Member Avatar for Celtrix

Yes i realize this is the fibonacci sequence and i understand the math im just having trouble understanding the line in red what does it equate to in laymans terms? Thanks in advance :D [CODE] a,b=0,1 while b < 100: print b [COLOR="Red"]a,b=b,a+b[/COLOR][/CODE]

Member Avatar for Celtrix
0
129
Member Avatar for Celtrix

Im having trouble with gtk open file dialog it will open the first time but after i closed it i cant reopen it Ive tried casting it as different objects but i cant seem to fix it. After attempting to reopen the dialog box it spits out gtk_dialog_run: assertion 'GTK_IS_DIALOG …

Member Avatar for Celtrix
0
198
Member Avatar for sivakumar.k

Dude I love reading code as much as the next guy if not more but you gotta use code tags and search google to make certain that is a valid style for your object and make sure you link the appropriate files and headers

Member Avatar for maba001
0
475
Member Avatar for BigDeveloper
Member Avatar for cute cat

@cute cat we don't mean to be mean we simply ask that you show us your best we' re not going to make fun or be rude we just want to see what you have so far and we will point you in the right direction. It's just that as …

Member Avatar for Red Goose
0
217
Member Avatar for sahil1991

It's not as hard as some people make it out to be for instance I can understand more code than I have the ability to write my advice is read the program like a book start at the top because that's usually where the foundation of the rest of the …

Member Avatar for sahil1991
0
226
Member Avatar for mohit007kumar00

You might get a little more help if you renamed your class 3 k's stand for an organization not well liked in America. I'm no expert in java but I have a hitch that you want this to hook into another program to control the volume correct ? I'm not …

Member Avatar for Celtrix
0
484
Member Avatar for kunal2020

Google = your best friend Cprogramming.com = for c and c++ tutorials Cplusplus.com = c++ specific tutorials Sorry if this counts as advertising but they really are good sources. any coding problem ask here but don't ask for code with out at least showing an effort. Graphics specific granted that …

Member Avatar for Celtrix
-1
119
Member Avatar for Celtrix

i get an undefined reference to _objc_class_name_greeter error when I compile When I remove the line Greeter * Hi=[[greeter alloc] init]; it compiles and all but one option works any idea what's wrong with that line Also the error is at .data+0xa4 and correction it actually happens during linking ? …

Member Avatar for Celtrix
0
401
Member Avatar for Celtrix

That had a string delimiter that you could specify. It would be quite useful if you guys could help me remember. It might have been fscanf or might have been a c++ function.

Member Avatar for Celtrix
0
108

The End.