- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 2
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
51 Posted Topics
Re: [QUOTE=mohanrobin;470944]ofcoarse linux can be a firewall. linux is a operating system which is free ware. one user can download and upload the os between DSL and SWITCH.[/QUOTE] linux is not freeware, it is open-source | |
Re: Why did you import math near the middle of the code instead of the beginning? | |
Re: The warnings don't really matter, there are usually a few warnings in every application, its the errors that matter. Ruby is a scripting language and Rails is a web development library that is used with ruby | |
Re: It would help if you posted the output you were supposed to have and what output you got | |
Re: Classes don't inherit friends and subclasses can't access base class's private members | |
Re: OH NOES, sex offenders on the internet, in other news the sky is wet and fire is hot, news at 11. "Sex offender" is such a vague term that can mean almost anything, its like saying there are 1 million people that have commited a crime before on myspace | |
Re: Every OS has its set of over zealous fanboys, Windows, MacOSX, *BSD, Solaris etc. Its something that most people would want taken away from every os. | |
Re: its because you are missing the while part of a do while loop do { } while (some condition); | |
Re: [QUOTE=athlon32;900361]You could probably do that in Java or Javascript, those two are very similar to C++, in fact Java practically is C++ I would suggest Java over javascript because it's a real application language, it's totally OOP (so is Javascript, but in a different way) I'm guessing you know java, … | |
Re: If I understand you correctly, you probably want something like [code] if x is None: print "x has no value" [/code] | |
Re: You can just do [CODE] import sys sys.path.append('pythonpathhere') [/CODE] | |
Re: It would help if you wrapped your code in [CODE ] [/ CODE] tags | |
Re: [QUOTE=michinobu_zoned;749613]Go to the website for colleges and universities. Look-up what courses they teach. See if they have like a planned set of courses they have students within their major should take in order for them to graduate. You could either look up what courses computer science majors take, software engineering, … | |
I prefer to write the backend first because thats how I think and it seems more logical to me, what do you prefer? | |
Re: Do you need to read the numbers from a file or from standard input? if you need to read the numbers from standard input, you just need to have a loop where the numbers get entered into an array, then you would loop through them and test to see if … | |
Re: [QUOTE=ddanbe;762795]What is your favorite boolean? true, false, inbetween?[/QUOTE] FILE_NOT_FOUND obviously | |
Re: Its easier to do anti-malware stuff in safemode(press F8 at the splash screen) which turns off everything but essential services | |
| |
Re: [QUOTE=Ancient Dragon;745477]what is "CHR/2" ? If you need 8 random numbers between the values of 0 and 16, then put them in an array. [code] start loop generate random number between 0 and 16 first time the number has been generated ? no, then go back and generate another number … | |
Re: Are you running solaris?, if you are then you will need to execute the .sh file | |
Re: don't use void main(), use int main(). void main() doesn't compile on most compilers and is incorrect according to the standard | |
Re: I wasn't aware *compilers* had gui design tools?, I thought compilers were just to convert human readable source code to machine read able code? | |
Re: [QUOTE=Drycola;679813]I heard that Linux is open-source, meaning that its CODE can be modified by any programmer. My question is: What programming language (C++, ASM, etc) shall I need to edit the source code of Linux, and where can I get the Source code ??[/QUOTE] The linux kernel is written in … | |
Re: [QUOTE=Ancient Dragon;682625] 7) Depends on the situation whether to use dynamic arrays or not. IMO it is better to just use statically allocated arrays for small arrays. Its even better to use std::vector or similar containers in c++ programs than c-style arrays. [/QUOTE] are STL containers faster then c-style arrays? | |
Re: Also, I would use #include <cstdio> and get rid of the void thing in main | |
Re: [QUOTE=VernonDozier;676645]First decide what "legal input" is. If you are talking about an integer, it would probably be a digit or a minus sign as the first digit. If it was a minus sign, it needs to be followed by one or more digits and nothing else, save possibly for a … | |
Re: [QUOTE=Imperial Advent;659833]I would if I had any, its my actual first day of software programming, so I dont really know how to achieve things, this is basically why I ask help... but the only thing i've managed to find out is that there is a special key I must use, … | |
Re: Eclipse and Code::Blocks are good I personally use Emacs of course ;) | |
Re: Red Hat 9 is very old, it probably does not support your laptop hardware very well. I suggest (if you want to use a red hat distro) to use either CentOS 5.2, or Fedora 9 | |
Re: The most basic way is to use the system function, eg. system("program");. The other way is to use the fork() system call. eg. [code] pid_t pid; pid = fork(); if(fork == 0){ execvp("programname"); } else { cout << "fork failed"; } [/code] I suggest you read man system man fork … | |
Re: [QUOTE=Kanoisa;650884]Heya, new to c++, just finished a bit of c programming and ur reply really helped thanks nobody told me about the std:: bit not even the book i was using ...but it works now cheers,.... by any chance could you advise when i ened the std:: bit in my … | |
Re: No, put code tags around the code in your post eg. [code ] #python code here [/code ] | |
Re: we don't give answers to homework here, if you have a problem with some code then we can help | |
Re: it is equal to 15 because you are passing b_var to the function c_var = a_func(b_var) you are getting mixed up between the a_var in the function and the other a_var | |
Re: Sams Teach yourself dhtml in 24 hours is pretty good | |
Re: I think what you are loooking for is something like Ruby on Rails | |
Re: I would suggest going through the tuturials at docs.python.org | |
Re: We are not going to write the code for you, but if you are having problems with this, then ask us | |
Re: [QUOTE=DimaYasny;537585]well, then it is very much unlike all other linux basics, since runlevel 5 is used on every major distro.[/QUOTE] Not on debian or ubuntu, they both use run level 2 | |
Re: I know this doesn't answer the question, but Could you just use True and False keywords instead of Y and N? | |
Re: You could use exit(0) | |
Re: CodeBlocks is another good free ide for windows | |
Re: system("\"C:\\Documents and Settings\\myUser\\myProject\\app.exe\" -vb \"C:\\Documents and Settings\\myUser\\file.txt\""); it should be system("C:\\Documents and Settings\\myUser\\myProject\\app.exe -vb \"C:\\Documents and Settings\\myUser\\file.txt"" | |
Re: You could just display a certain number of lines and when the user presses the down arrow key it displays more text | |
Re: locally means that the disk is attached to your computer, every disk is mounted under / |
The End.