| |
| |
| |
|
Page: 1 2
Comments:
<0> yup ;) <1> I`'m bored. <2> anybody know of a good free program for making flowcharts from c code, which can run under linux ? :-) <0> Doxygen? <2> spale: thanks. i'll check it out :-) <0> http://en.wikipedia.org/wiki/Doxygen <3> I need help with a recursive functionm <3> function* <4> what sort of help do you need? <3> well, I am trying to make a recursive function for a linked list of cities <3> that checks all arrangements of cities and returns the best arrangement that gives the least distance <3> the problem I am facing is in p***ing in the linked list <3> I want to store the best linked list in a variable, but since its recursive somehow the changes are not being stored in the original variable <3> its hard to explain here, but I can copy/paste the code <3> it isn't big <3> but let me try to debug it, will be back later if i can't
<0> String_, use a pointer to a struct <0> the struct contains a ptr to a ptr list and its length <5> They deleted my X account! Inconceivable! <6> bummer <6> wb <5> lol yeah <5> thanks :) <7> thanks dbtid <8> .. <8> finally <8> can someone help me ? <9> If you ask a question, maybe <8> i want to make something in c <9> Like what? <8> a think it's called a module <8> like this <8> u're in linux for example <9> A shared object? <9> .so file? <8> and u write output("some text") <8> and then u see "sometext" written <9> int main() { puts( "some text" ); return 0; } <9> (with the include) <8> works that way ? <9> So basically you know nothing about C and want to make some program that displays "some text"? <8> i know plenty of c <8> but <8> i never used it in linux <9> So you just want to know how to build the .c into a program? <9> gcc -c source.c -o source.o <8> not this <9> gcc source.o -o source <8> look <9> Then wtf do you wwant heh <8> actually <8> i want to make an encryptor <8> and i want to make it like this <8> encrypt(buffer) <8> and the buffer it's encrypted <9> And? <8> decrypt(buffer) <8> the buffer it's decrypted <9> Yeah right, so what's your question <8> how to make it so i can acces the program without opening the exe <9> ... <8> let's take your program for example <8> int main() { puts( "some text" ); return 0; } <8> and we save it print.cpp <9> Then you're in the wrong channel <8> if i write print("some text" it prints "some text" ?? <10> Don't name it .cpp, name it .c <9> No it doesn't <8> doesn't matter <9> int main() { puts( argv[1] ); return 0; } <8> then this is what i want to do MrAshe <9> print "some text" <9> And that doesn't have anything to do with linux <8> hmm... <8> let me try <11> oh <11> alone
<9> (and sounds like a job for a shell script) <11> alone <11> by <9> Hey, the average IQ just went up by 50 points <8> it ****ing works <8> thans MrAshe <10> lol <10> So much for "knowing plenty of C" <8> hey <8> here is the thing <8> i know c++ but before '99 <8> when the whole language changed <8> so i'm not use with this "int argc,char *argv[]" yet <8> so excuse me <8> cai <10> C != C++ <10> And arguments were around long before '99. <12> Let me guess, then you suddenly had amnesia/ <8> i know c != c++ <8> and .. no i hadn't amnesia <8> i had internet <8> and i discovered the new c and c ++ <8> and that i learned nothing at school <8> so if sometimes i say some stpid thing <8> please excuse me <8> *stupid <10> Well, read any introductory to C (http://cprogramming.com has a few good ones), it will tell you all you need to know about arguments. <10> c-bot tutorial <13> cai, here you go: C tutorial for newbies : http://www.howstuffworks.com/c2.htm | http://directory.google.com/Top/Computers/Programming/Languages/C/Tutorials/ | http://www.swcp.com/~dodrill/controlled/cdoc/ctutor.html | http://cprog.tomsweb.net/cintro.html <9> Even if C++ always had argv, even before 98 <8> maybe but i didn't learn about them at school <8> and now i don't even listen what the teacher says <10> Highly probably, schools aren't typically known for teaching well <10> s/probably/probable/ <10> And, sadly, that was not said in jest. :/ <8> anyway .. thanks u MrAshe and cai <8> if i'll have some problems i'll ask u <8> k ? <8> *some other <8> don't fake MrAshe <8> it's not polite <8> if u don't wanna help me <8> that's ok <9> (looks like my fake was too bad) <14> can someone kick alecssys <14> please ? <9> Why, you're his dark side? <9> You're trying to take over his soul? <9> Actually, it'd feel good kicking you <14> i'm the same but i unpluged the internet cable <14> thank u <14> hmm... <14> wtf <14> the nicks are case sensitive ? <9> ? <8> how can i copy a value in the memory ? <8> like when u do copy-paste <8> no one? <6> alecssys: C doesn't do that <6> the API does that <15> This function finds the max value in a vector with n elements <15> do you know how the recursivity works in this function? <9> Let me check my crystal ball <9> No, I don't <6> rotfl <16> how do i complement a variable <16> ? <16> that has 0x01 inside <16> i want to bacame 0xFE and than 0x01 <16> each time the processor p***es over the complement instruction <16> how do i make that
Return to
#c or Go to some related
logs:
#AllNiteCafe Siehe vorherige Definition von _WIN32_WINDOWS imps server linux
24rf08 replacement #apache #linux #asm sourcefire is5800 #mirc pantherebel
|
|