| |
| |
| |
|
Page: 1 2 3 4 5
Comments:
<0> hi who knows java script in here? i have a problem..please private me who can help me in a java script problem <1> wrong chan... <1> try #javascript <2> I don't suppose anyone ever used the 3ds file format before? <3> A really long time ago <2> I'm just wondering why max exports way too many vertices for a simple object (a box) <2> I get duplicates all over the place and unused indices <4> wouldn't you need 4 indices? <4> as in max <2> that'd be 8 body <2> buddy* <2> it exports 26 vertex indices for a box <2> and 12 faces (correct) <4> Me dummy :o) <5> how can i tell what function called a function i am in?
<6> You can't. <6> Well, not within the language.. <6> Debuggers will give you the call history if you want to, but there is no way to know where you're ebing called from, UNLESS you p*** it as an argument. <6> And even then, you can't be sure that argument is correct. <5> how do i find out in gdb? <5> the call history <7> bt <5> mm.. when i do: run main, it just runs the whole thing <5> then if i do bt it says no stack <7> You have to set a break point, or stop execution (usually will have more luck setting break points)... try looking in gdb documentation <8> ebbtepid: If you're developing on linux, then you might have a look into libcwd. <8> That lets you print the name of the function you was called from (as debug output) <9> how can i make a calculator in c++ ? <10> learn the language, write the code, get a compiler and compile the code. <10> In that order. <9> hehe .. :) <7> An infinite number of monkeys can do it <6> Shouldn't he do the "get the compiler" first, and do "write the code" and "compile the code" iteratively? <10> You could say that. <7> I don't understand how that would work without first drawing up a requirements document, then getting it approved and signed off by the teacher, etc <11> can you return a map created on the stack inside a function to the outside? (is it copied over?) <11> by a return <12> vidkid, by value, yes <11> ok thanks <12> vidkid, but is not effective <11> how big is the stack normally? <11> yeah it's not that effective but i think it'll do for this particular application.. <13> This year's superbowl theme is "fuel efficient SUV's" <12> vidkid, it is totally unspecified <11> yeah, i suspected as much <14> what's not 'effective' about returning a map by value? <15> http://www.noidea128.org/sourcefiles/15915.html <15> error at bottom of code <12> rdragon, the entire contents must be copied <16> hello <16> does any one know any thing about compilers (in generaly) ? <12> insomniak, no <16> I meen building a compiler not (4 exmp. C++ compiler) <11> i know something about compiler <16> do you know how to build one? <11> no <16> then...any 1 knows a useful link to this kind of tutorial? <7> The boost spirit package can be used to build compilers in C++ <16> ? <16> I found a website with this thing...thx yy2bggggs <7> Aside from this, there are tools not relevant to #c++ (lex/yacc most commonly) that can be used to build compilers, that are more hard core. I don't know of any tutorials on the web, but I'd refer you to google for that <16> yeah...thats were I started befor MIRC :P <16> *before <7> Before irc you mean? <7> I don't know what mirc is... I hear rumors that some khaled guy wrote a crappy client called that <16> :)) <16> u linux? <7> I use linux and windows <16> and what do you use under windows as a irc client?? <7> Currently Thrashirc <16> k... <15> http://www.noidea128.org/sourcefiles/15915.html Error at bottom. <17> ummm <17> no part of the Windows API takes ifstreams as params <17> The Windows API is NOT C++ specific
<17> it's not C Specific either <17> so FILE * won't work either. <17> look up CreateFile <18> anyone here know ipod linux? <15> thx NoIdea <15> oopse <19> anyone can give me an idea? i have a main program which calls fork. now when i exit the child process, i see it becomes a zombie. how do i terminate the process gracefully freeing its resources? thank you <20> well if guest101 was still here I would explain how to do that <20> useing the wait() or something function <21> I want to write a left docked rss reader for ie, any docs that I should read about this topic? I can't find anything concludent. <21> I found toolbars examples, but I don't want to write a toolbar <21> heh, found the name for it: "explorer bar" <22> hi, anyone's Visual Studio 2003 freezing/hanging when you try to pin the toolbar? any ideas on how to fix this? <23> good morning <24> JBlitzen, I figured out the problem last night. You might like this. Apparently, even if you only compile code, in C the function main() is absolutely sacred. I gave it a different name, and it worked better (Gcc didn't create other symbols like _alloca). I also did have to declare start as a global symbol in my asm. I got it! <13> Nice, March <13> Thanks for the update <25> any one know why the char string for filein and fileout dont work when creating the stream objects? http://www.noidea128.org/sourcefiles/15917.html <25> it never knows what the file name is <26> print them out <25> explain a bit? <26> cout<<filein<<eol;cout<<fileout<<eol; <26> ergo, print <25> oh lol <25> hum well it knows <26> though, 'them' could vague :) <25> just doesnt seem to get parsed to the to stream functions properly <26> cut off the \n <26> you probably have a newline between your printed names.. right? <25> nope <25> Enter the name of the input file: hi.txt <25> Enter the name of the output file: 1hello.txt <25> hi.txt1hello.txt <26> hm <26> the file exists? :P <25> yup <25> dunno whats wrong <26> can you check the error that fin gives? <25> no errors <26> what platform is it run on? <25> win xp <25> with borland c++ compiler 5.5 <25> oh yeh its not that <25> it just gets stuck in that while loop <26> oh <26> after how many lines? <25> if i put a file name in the open stream functions like "hi.txt" it works tho <25> doesnt stop <25> for ever loops <27> calc !eof <28> !eof = while (!file.eof()) { file >> x; process(x); } // WRONG. file.eof() indicates FAILURE due to EOF. If file >> x fails due to EOF, process(x) won't have an x to process. And if it fails for some other reason (e.g. bad input), this loop may never end. Try { while (file >> x) process(x); } instead. See also: http://www.gnomesane.net/code/doc/noteof/ <25> i guess so <25> dont know why variable aint working though <27> calc no .h <28> no .h = Headers introduced by Standard C++ have no .h extension (e.g. <iostream>, <cstdio>). Prefer these to proprietary C++ headers that conform to no formal standard (e.g. <iostream.h>) and to Standard C headers (e.g. <stdio.h>), inherited by Standard C++ for backwards compatibility. See also: http://www.parashift.com/c++-faq-lite/coding-standards.html#faq-27.4 <26> oh i missed the .h includes <26> heh <25> makes that much of a difference? <26> its wrong <25> dont compile with out them <26> well that is borland <25> lol <25> why doesnt it work tho? <25> cant understand that <27> How did you check whether there's an error in fin? <25> how? <25> oh i didnt <25> i dont know how <25> i got no errors during compile so i guessed it was ok <27> 08:42 < Tamama> can you check the error that fin gives? <27> 08:43 < mark105> no errors <27> So why did you say that ^
Return to
#c++ or Go to some related
logs:
ECSTASY REDR loolitaa sex radeonexpress200m 18ft schlong ubuntu mobilepre #chatzone #linuxhelp #linuxhelp #london #c++
|
|