- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Programmer and student
9 Posted Topics
Re: Does your code contain any pointers? It may be possible that if you don't initialise them, they'll just point at a random value, which may happen to be system protected, however I doubt that. Could you post your code? It would be much better that way. Something you should try … ![]() | |
Re: Well, this is obviously homework, but fine... The easiest way to do it is to increment i(and n!) by a value of your choice when you read the number. Example : #include<stdio.h> int v[1001]; int main(){ int i,n; scanf("%d",&n); for(i=1;i<=n;i++){ scanf("%d",&v[i]); i+=4; n+=4; } return 0; } If you print … | |
Hello! I've recently started learning assembly so I can begin writing full-fledged languages instead of wrappers. Today, while trying to learn the cmp function, and using je and jne, I've came upon a problem. I tried using cmp to compare two values, and then je and jne to jump to … | |
Re: > error: 'storage_f_to_c' cannot be used as a function > cout<< storage_f_to_c (((*5)/9)+32) <<; You should take the error literally, because you are attempting to use "storage_f_to_c" as a function. Here is your code with an added variable... a=((*5)/9)+32; cout<< storage_f_to_c(a); It's much more clear now, isn't it? You are … | |
Re: I myself use CodeBlocks, and it's doing really well, at least under my Ubuntu. I've also tested it under Windows XP and Windows 7, and even though you can add files a little bit faster, running C++ under Windows is slooooow... but still works. When I first started programming I … | |
Re: Firstly, [a quick google search](http://lmgtfy.com/?q=C%20how%20to%20make%20a%20simple%20bot) reveals some good information on sending and capturing mouse movement and keystrokes. I personally like the second and the third results, but I haven't watched the first one. Now, before you start coding a bot for a MMORPG(which is hard!), I'd recommend making one for … | |
Re: Printing a char which can be of any value is sometimes problematic... printing all 255 of them, without actually using some ifs to fix it, will always be problematic. | |
Re: Couldn't you just compare it like they're just two arrays.. but with an extra for? I mean, if I give you two pieces of paper with a matrix on each of them, that's the way your brain would do it. Here's some pseudocode, because if I were to give you … | |
Hello there DaniWeb! I'm Vlad, a student and programmer. I've got multiple medals at our national olympics, and even though I use C/C++, I do know other 10(11, if you count the one I developed) programming languages, including Python and Java. I'm really looking forward to contributing to this community … |
The End.