624 Posted Topics
Re: use vista. but if you find compatibility issues, then install a virtual machine (i use VMware) of windows xp. the only issue that i get with a VM is booting from USB, because the bios on the vm doesn't support it. Vista really isn't that bad...just a little buggier than … | |
I'm trying to install fedora core 6 as a dual boot with windows vista. I have a proper partition made to install it to, and I (thought I) installed it earlier today to this partition. But I forgot to install GRUB to dual boot, so now I'm trying to repair … | |
I'm not too keen on this new over the top 'run as administrator' thing in vista. I know it's for my own protection, to prevent malicious code from altering my system, but it makes batch programming a pain. I'm trying to write a couple scripts, one that will kill windows … | |
| |
Re: Alot of programmers think logical and selective searching methods work the best. But bruteforce is recomendable in situations like this. Just have the computer brute force every possible path (with an array) to the cheese, and keep track of the number of moves for each one. Then have a loop … | |
Ok. Originally I was trying to write a program that would calculate pi to infinite decimal places. The calculus baesd algorithm I made for this is flawless, except that C++ can only handle 16 digits! So I did some looking around, for libraries and what not, to find something that … | |
I've recently made a pi calculator out of a pretty rediculous algorithm (which is incredible accurate by the way). Unfortunately, C++ doubles can only hold 16 digits of it! I know that's plenty enough for any practical applications, but I want more accuracy! (Call me insane). I'm just looking for … | |
Okay, so I'm doing a report for my technical writing class on how to hack flash games. But a few days after I submitted my report topic, flash 9.0 came out and totally nullified my method of hacking it! I downloaded a pretty crappy seeming Standalone Flash Player, which emulates … | |
Re: [code] for (int i =0; i < 10;i++) cout << data[i] << " "; [/code] the space is there for clarity, but you can take it out. | |
Re: Make a banking system. Its a straight forward concept that could utilize all of those forms of logic in some way. eg. Loops - while sentinel loops (looking for proper input) for loops for compounding interest Functions - Just keep down the clutter in main() and this should be done … | |
Re: copy and paste the particular part(s) of your code that you have the problem(s) with. its not wise to download any attachments on forums, even this one. | |
I'm getting pretty bored with the straight-forward database work we're learning in school. I've got very solid understanding of intermediate C++ concepts, but we have yet to implement any graphics! When I was a lot younger I mastered QBasic (which isn't much of a feat) so I should have a … | |
Re: please post it with (code = cplusplus) (/code) wrapped around the code please. it will help with identifying the line numbers that the errors are occuring at. (replace the round brackets with these [ ] ) | |
Re: Hmmm... I think you're in the wrong forum. If you really want to learn how to use C++, I'd sugguest taking a few classes on it. Individually they can be pretty affordable. If you prefer self learning, I'd sugguest visiting some basic tutorial sites or even a C++ textbook. | |
Re: There are several functions relating to hex notation/values built in to C++ and its iostream library. Doing some research into those may be supremely beneficial to you. example... int i = 10; cout << hex << i; output is 'a' - no need for a conversion function | |
Re: I'm confused as to why you are using a void pointer. I don't think that that would ever be useful. Although I'm probably wrong... | |
Okay I'll start out with some brief specs of my computer. Ram - 2x512mb = 1024mb Cpu - Iintel pentium 3 - not too sure of the GHz but thats not important Hardrive - 80Gb Dankstar (??) - not too sure of rpm Motherboard - Atx form factor - some … | |
Re: [QUOTE=WaltP;558165]Change [icode]cin >> variable[/icode] to [icode]cin.getline(variable)[/icode] And use full words in English as [B]the Rules[/B] specify. You [I]did[/I] read them, didn't you?[/QUOTE] I think most compilers will give you an error if you don't specify the number of characters to input (at least mine does). [code]cin.getline(szVariable, iNumberOfLetters); [/code] | |
Re: Just how noobie are you? Is the battery charged and connected properly and cleanly? | |
Re: Sounds like what happened to my computer! Except I can make the monitor turn on by taking out the BIOS battery and putting it back in while the power is off. See if that works for you! (Except mine is still pretty broken after that point) | |
Re: Hmmm. That seems like a pretty advanced thing for a beginner to be doing. Is it text based? Implementing graphics? And what do you expect from this forum? Nobody is going to right the program for you :-/ | |
Re: You can always just use the ascii values of the letters you want, combine it with your knowledge of random numbers and presto. int Random(max, min) -> some random number function int main { cout << char(Random(60, 40)); return 0; } im not too sure the exact ascii values of … | |
I'm having some problems dynamically changing the size of stucts. I know there must be a way to do it...but I guess it must be a bit different than with standard variables. I'll put up some code, maybe I'm just being dumb ;) [code=c++] struct SScore { char m_szFirstName[15]; char … | |
Hey, I'm brand new to this site. Hopefully someone can help me out. How do you clear the console screen without any system-compatibility issues? This means that SYSTEM("CLS") and anything from a windows library (like #include<windows.h>) is not acceptable, as it will not run on linux/unix etc... I know theres … |
The End.