- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 1
I love coding
- Interests
- Learning new programming languages, coding
- PC Specs
- Mac Mini, Intel Core 2 Duo 2x2,4GiHz, 5GiB RAM, NVidia GeForce 330M MacBook Pro 2011, Intel Core i5…
24 Posted Topics
Re: Aww, I've never been my teacher's pet! But I have a pet, he's a cactus ;) | |
Re: As WaltP already said, what you are looking for is not a compiler but something called an "Assembler". Assembly is the language that CPUs speak, every Assembly statment gets turned into a CPU processing instruction. The Assembler turns the Assembly text into instructions. However, I think that assembly is quite … | |
Re: I started learning programming 4 years ago (when I was 12), back then I really wanted to learn PHP to write forum software. I learnt PHP (only the basics tho) but I failed at every major project I attempted (forum software, online game). Back then I was so enthusiastic! Well, … | |
Re: I suppose it might be doable with some kind of proxy. You'd need something that listens to your public IP at port 80 and filters incoming requests by header, and then forward them to the correct destination. You should probably implement it in C++/C to get more speed since all … | |
Re: Why do you use platform dependent functions like CreateProcess when the C++ standard library provides fork()? | |
Re: fyi, if you know some Java you can use the Robot class, which can simulate Keyboard events and even Mouse events in a cross-platform way. Cheers, xfbs | |
Re: Yes, this won't work because you are not specifying a type. [CODE]SparseMatrix (matrixInfo)[/CODE] on line 29, you should to use something like this, depending on what you want the constructor to do: [CODE] // to specify x and y dimensions SparseMatrix (size_t sizeX, size_t sizeY) // to give some default … | |
Hi Everyone! Just wondering: how many people here use [URL="http://github.com/"]GitHub[/URL]? I've been on it for maybe half a year now and I find it quite useful. What experience do you guys have with git? Cheers, xfbs | |
Re: If you are up to the challenge, you could also try to make the calculator figure out what operation it should perform. You could do something like this: [CODE] int lhs, rhs; // right and left hand side char operator; // operator cin >> lhs; cin >> operator; cin >> … | |
Re: Hello! I'm new here too :p. what language(s) do you know/are learning? Cheers, xfbs | |
Hello everyone, I have just written some code that measures a system's [URL="http://en.wikipedia.org/wiki/FLOPS"]FLOPS[/URL], but before I wrap it in a class and make a GUI for it, I would like to know what you guys think of it, if you can see any bugs and/or if you got any suggestions … | |
Re: I agree with mzimmers - unless you need it for some special reason, the AccountNumber class is superfluous, you can easily replace it with a static int. I would change the code to be something like this (i have made these sample definitions inline for demonstrative purposes): [CODE] class Account … | |
Re: I don't get it. So you say you have a series of key value pairs with 2 values per key, something like this: key => [value1, value2]. Then you loop thru the keys, looking if value1 or value2 of that key are in some set; what set would that be? | |
Re: I have run into this problem and I ended up just doing all coloring with easy to use ANSI colors which are supported on Linux/Mac, and on Windows I just run all my apps in Cygwin, which translates these ANSI commands into native Win32 API calls (at least I think … | |
Re: [QUOTE]I noticed that, getting user imput, conditional statements, using escape charecters, exicuting system commands, and even declaring variables and using them so that they have use; these are all difficult outside of the domain of C and C++[/QUOTE] Have a look at this: [CODE] # user input (one line of … | |
Re: 'Decrypting' this is not possible, because the algorithm you have is something akin to a hash function: it is not possible to deduce the input from the output. The only information that we have is that the password+key=0x3AE045BA (which is 719340986 in the decimal system). Cheers, xfbs | |
Re: I think you should get familiar with some sort of library/framework to make games (OpenGL, openFrameworks, DirectX, etc). Once you have a good idea of how it works (you should at least kinda know stuff about threads, mutexes, callbacks - you'll learn this stuff when you learn about the tool … | |
Re: Well, a vector is basically a list. So vector<record> is a list of records, which you can use like this: [CODE] // make new vectors vector<int> listOfNumbers; vector<record> listOfRecords; // add items to the vectors listOfNumbers.push_back(5); // push 5 to the end of the list record customer; listOfCustomers.push_back(customer); // add … | |
Hello everyone! I am Pat, I am currently 16 years old and I've been programming for 4 years. I started with PHP, then Python, then Ruby and currently I am programming in C++ with the awesome Qt framework ;). I hope to learn some new stuff here and meet like-minded … | |
Re: [QUOTE=jonnyboy12;1681323]Hello i am building a game. The bigger it gets , the longer it takes to compile. I wanted to speed up compile time. I have a lot of headers and cpp's and they recompiled every time. I was thinking about when building my game, excluding some parts of it … | |
Re: [QUOTE=reddit;1681295]I am trying to make an 8x8 board with an array. The only problem I run into is making a box or square that will be placed into that array. for instance: @@@@@ @@@@@ @@@@@ @@@@@ @@@@@ @@@@@ @@@@@ @@@@@ @@@@@ @@@@@ @@@@@ @@@@@ @@@@@ @@@@@ @@@@@ @@@@@ @@@@@ @@@@@ … |
The End.