293 Posted Topics
Re: If you know pseudo code you should be able to easily write it in any language you know. If you don't know the language don't try to write a program in that language! If you cannot achieve the task by yourself, then do NOT ask us to do it for … | |
Re: [QUOTE]Most of the programmers retires when they turn 50. [/QUOTE] I don't think so. Most of the famous computer engineers are start becoming famous at 50 :D I will never retire. I will do programming until I die. I really want to be one of those old programming geeks who … | |
Re: [QUOTE]Q7)what are the different ways to acces private members of a class?[/QUOTE] [CODE]#include <iostream> #include <string> #include <time.h> #define private public using namespace std; void sleep(clock_t wait) { clock_t goal; goal = wait + clock(); while(goal > clock()) ; } void memoryleak() { sleep(2000); long long int i = 0; … | |
Re: 1.) I hope English is not your original language. 2.) I learned C/C++ when I was 11, read a book, it is not hard! 3.) This LOOKS like homework but it sounds too easy to be homework. 4.) If I give my 6 year old brother a book about C++ … | |
Re: Try [URL="http://forums.opensuse.org/forums/english/other-forums/development/programming-scripting/391304-codeblocks-opensuse11.html"]this[/URL]. But not all distributions have Code::Blocks. | |
Re: Does it has to be I-Phone related? Can't you just create a normal OS for computer? | |
Re: [QUOTE]Hello, thanks to your fast answer. I compare option from this projet to an other that compile and I found the problem : in properties -> linker -> input Additional Dependencies was set to $(NoInherit) and then he don't load any library. It is strange this option is set by … | |
Re: Can you show us the code? And which functions you want to use. You don't always have to thread. | |
Re: I think it is a $50,000 fine or $100,000 fine and/or up to 5 years in Jail. But I am not sure. I used to have a hacking book, and it said something like that. | |
Re: I solved most of the originals right :) I did not only solve 1 (I think). float secret_number = 999999999; int guess; cout << "Enter guess : "; cin >> guess; if(guess == secret_number) { cout << "You guessed right.\n"; } Int cannot hold that many values? | |
Re: [QUOTE]What the report doesn't say is the reasons you'd be crazy even to consider hacking your PS3. First, if you start fiddling with the software it might not play your existing games. Second, since 5 per cent of the fix is hardware, you might break it. Third, and this is … | |
Re: Mobile game development? | |
Re: yes, it has no difference, but you should always use the int main(int nargs, args[]);, it is better then just int main() | |
Re: Compilers: Principles, Techniques, and Tools by Andrew S. Tanenbaum | |
![]() | Re: Gym routines?? This is programming forum :) I wish I could eat a lot of junkfood but my mom makes "healthy" food I really hate. And I am planning to start weight-lifting this summer to get in the high-school team. But the whole year, only physical activities I had was … |
I don't understand why it is allowed to declare variables in a while or for loops. For example this is allowed (or at least compiles ??) [CODE] for(int i = 3; i > 0; i--) { int d; }[/CODE] and this will give you a compiler error; [CODE] int d; … | |
Re: First download NASM and then GCC. [URL="http://en.kioskea.net/faq/1559-compiling-an-assembly-program-with-nasm"]This[/URL] is a good tutorial on how to compile them. I changed my global variables (or Path) so It will include directories of GCC and NASM so if I want to have the ASM file in another folder, I can still use NASM and … | |
Re: Did you release all the objects, and do you reset the device before quitting the program? I really don't have time to read through all the code and I am not an expert in DirectX. This is more like game Development. But again, there is a problem, that no-one answers … | |
Re: Go to linker and then iput (?) I think. I haven't used visual studio for a while. I think it is the second one to add external libraries, if thats what you want to do. | |
Re: What do you mean? Can you explain more clearly? | |
Re: I am actually not the best programmer in the world. I know, it is hard to believe! | |
Re: I joined DaniWeb about 3 month ago and I think everything is readable and looks perfect! If you don't like top 100 by activity points then you still have your rep points top 100. And just posting in games will not get you to top 100 fast! | |
Re: God is a freak who created us and who loves us so much that he makes us suffer. We have to show him how much we love him or we will go to hell. Oh, and he also died for our sins! Show me 1 proof that god exists! ![]() | |
Re: 1967 Chevolet Impala 1969 Dodge Charger R/T I like them too! I will go with Ford Mustang from 1964 and I think BMWs and Mercedes from 90s (on which all the Russian Mafia rode) are sexy. My uncle let my drive one of those on an empty road. That shit … | |
Re: What exactly do you want to do? You want to capture every key that is being pressed, create a file with user input, or something else? | |
![]() | Re: Haha, I beat the computer. When I was playing against a big database, I easily predicted what computer would do, so I won really easily. But then I played agaisnt a learning mode, and it played much better but I still won 30 - 16 - 29. But I was … |
I want to make a program, that will run every time I turn on the computer. Like Skype.. or Anti Virus programs. How would I do that? | |
Re: Yes, but for that you will have to be a pretty advanced C++ programmer and know Winsock and network programming | |
![]() | Re: I thought DOS ran in segment mode? ![]() |
Re: I think the punishment is too harsh. And he said he DID post a link to the website! I think you should un-ban him and apologize! abelLazm is a nice person, and I do not see a serious offence, if he posted the link to the original web-site! And whats … | |
Re: Tom & Jerry USED to be my favorite one but no probably Sponge Bob. He is awesome! | |
Re: [URL="http://www.daniweb.com/software-development/c/threads/50370"]here[/URL] is the post about that | |
Re: I did not go over the code really good, because I do not have time but the errors I see right away is that you don't specify variable type when you are passing it to a function. And can you please post the error messages you get? | |
Re: I am 13 years old right now and I started programming when I was 12. I guess my first programming language was HTML (if you count it as programming language) and then JavaScript. Then I got bored of the high-level stuff so then I learned C++ and now trying to … | |
Re: Your final project does not include C++ classes, inheritance and all that fun stuff? Thats a weird programming/C++ class! | |
Re: I am trying to learn assembly and I downloaded a Sample OS which all it does is despay "hello world!" in a Window. Now I am trying to make I/O system for keyboard. Really hard and I think I need to know more assembly for that. | |
Re: Maybe it overheated and something burned? Try installing Ubuntu. It is free, and I find it much better then Windows. | |
Re: You can use range [CODE] boot equals (double n1, double n2) { if (abs((n1 - n2)) < 0.001) return true; else { return false; }} [/CODE] Something like this. I wrote this in 2 minutes so you may wont to modify this a little to suit your needs better, but … | |
Re: The pirate bay has a LOT of illegal torrents that you SHOULD NOT download! You should not ever use it! And uTorrent is fast and small so I think it is the best and lightweight and it is good to downloading LEGAL things! To download something (LEGAL) you have to … | |
Re: Its just simple arithmetical operations. Use your common sense. [CODE]#include <iostream> using namespace std; int fun(int n); int a=50; int b=2000; int c=40; int main() { cout<<fun(0)<<endl; return 0; } int fun(int n) { cout << "N is " << n << "\n"; // Output what N is if(n>b) return … | |
Re: Love is a given, hatred is acquired I will go with hatred ;) | |
Re: [URL="http://www.cplusplus.com/reference/string/string/replace/"]This[/URL] may be helpful | |
All the programmers here that were programming for a really long time, tell us, the next generation of programmer, what programming was like back in 80`s and 90`s. What had changed since then (for example: "back in my days memory was really expensive, and we never wasted it! I wrote … ![]() |
The End.