Did you try it on the site I gave? If you do it on Windows it may not give this error. Anyways, I fixed the issue by simply changing the name of the class. Seems my prof (who works under windows)...
Type: Posts; User: Salgat
Did you try it on the site I gave? If you do it on Windows it may not give this error. Anyways, I fixed the issue by simply changing the name of the class. Seems my prof (who works under windows)...
It doesn't compile for G++ but if you try it on codepad it will give an identical error message.
I've looked over this, and never having used classes before am a bit confused on what I'm doing wrong. If i initialize the counter variable prior to main as part of the class declaration it works...
Yes.
I was curious what the most effective way was for inserting a value into an array. I literally mean inserting a value into an array, as in between two values, not just replacing an item at a specific...
Is an operating system even possible in Java? I mean a stand-alone operating system.
Its very true, and has the reputation of several major news companies to back it, which is definately enouph to prove it.
Anyone who says linux is hard to install, even harder than windows has no experience with some of the linux distros. You know what I had to do to install Ubuntu? Put in the CD, restart the...
*waves* Hi, Im new too. Im learning C, you?
Oh no I can say for a fact that I dont even have any real experience with pointers, I'm in now way "knowing" of everything about it, but I did learn how to use them for the basic things like with...
Oh a calculator, I did want to do a complex physics calculator eventually (being able to derive as many variables as you could from a limited amount of data), and this could be a good start. ...
My point is, it looks like a gimick, and there is a lot of people who love gimicks. I personally dont see this as being used for anything more than that, which is why "whats the reason behind this"...
Alright, im slowly but surely trudging my way through learning C, I know I have a long way to go, since I have only now learned of how to properly use pointers and arrays(hehe, I told you I was...
Never try to use real logic when applying something like this to normal users, just use "oh this is neat" logic.
http://ski.ihoc.net/
Classic :)
Isnt the parent the one who should get sued(well, legal action :) ), seeing as how she didnt responsibly monitor her childrends actions? Can I sue the phone books if some guy uses it to find the...
I can see some sloppily made programs in the future :) "oh no man, don't worry, its not like it'll effect performance."
This may get big if Windows gos "oh people will think this is neat, lets make some money" and buys them out or something buhaha. Anyways, I can see it becoming big, since its made for nubs :), but...
Oh ya! Haha, thanks :D (I would use floats, and a more simple setup, but like I said, trying out different things);
(ended up finishing it, thanks guys :) )
#include <stdio.h>
//Title:...
Thanks! I was trying to apply a few things I was learning and reduce the amount of variables used, unfortunately I got a few things wrong. I know I may not be doing it all perfectly to the book,...
Oops, hehe thanks Quzah, hoorah! But about the double variable, anyone know?
If you talking about the first output, Im trying to have it go 1st, then next time around 2nd, then next time 3rd, etc. To be honost, Im not 100% sure you can put the trinary ?: inside another one. ...
I know about = and ==, not sure about how that applies here, but thanks about the char note. Also, any reason why its not reading(or outputting?) the correct double variables? Thats my main problem.
http://www.bloodshed.net/devcpp.html
Thats where I got my dev-c++ compiler, its awesome, as reccomended by others.
Alright, I just started teaching myself how to program C a couple days ago, so don't make fun of me too much!
#include <stdio.h>
//purpous is to have 4 numbers input and the average...