yeah sorry for the shortcuts, you get used to them when you're a gamer, anyway I managed it since the input is directed over cmd like main.exe < input.txt so all I had to do is write a while loop for...
Type: Posts; User: Jablan
yeah sorry for the shortcuts, you get used to them when you're a gamer, anyway I managed it since the input is directed over cmd like main.exe < input.txt so all I had to do is write a while loop for...
Hi folks,
I got a weird question here...we got a project to do, not hard but not simple either, it just has a ton of code to write...now I reached a little bump here that I don't know how to...
Hi,
been a while since I required help from you guys but I've ran into an issue here.
So I am practicing with C++ since I done most of C already and I have a problem with reading spaces from a...
I'm still learning it all, as I said I haven't even reached object part yet....I'm using Codeblocks and kinda learning VS as I go but I've noticed a lot of compiler errors in VS compared to CB. I do...
You know you should really update your avatar pic...you know the one with a cat?
He said he had an idea on giving a user a choice I just told him how I'd do it, the code I wrote was straight on...
So this is more of a "information question" then programming question,
since I am new to C++ I am assuming it has mostly similar setup as C
part from that C++ is object language (bad english sry)....
I am also new to C++, just crossing over from C and basically how I understood it bool is just true / false values instead of 1 / 0.
In practice so far I never used it because you can implement...
Do you have any experience in C programming? Jumping to C++ could be a little harsh if you never programmed anything before and if you have no interest for it.
The amount of knowledge required for...
Right, just like others said...add additional variable such as int minpos and within your "if" statement just add under min = x[i]; minpos = i ; and print minpos, that will give you the location...
I feel really dumb right now because that's exactly what I wanted but for some reason when I tried it that way few days back it didn't let me.
I probably forgot to add windows.h or something :P but...
I know how Winapi works but I don't know or should I say I don't understand how to write the code so it works with the regular main() and just to popup boxes in given conditions.
If I understood it right all you need to do is add elements from m1 to m2 and save the result in m3 with the element locations corresponding the ones from m1 & m2.
The way I'd solve this (if that's...
Hi again folks,
since you guys managed to help me in such a short time regarding threads for windows I wanted to ask another question which is a bit stupid but hell I just don't know it.
Maybe it...
@gemera
You're right but the functions are different from the ones used for UNIX due to OS restrictions (if I understood it right) so you can't just use stuff like fork() for creating new processes...
Hi guys,
I am new to this forum and I've found some interesting stuff so I wanted to ask ya all a question.
I am fairly new to C/C++, I got general knowledge of most of it's functions but only...