Search Results

Showing results 1 to 40 of 61
Search took 0.01 seconds.
Search: Posts Made By: AceofSpades19
Forum: C++ 15 Days Ago
Replies: 4
Views: 325
Posted By AceofSpades19
You took my post out of context, I was referring to him building sqlite unless he actually meant building an app using the sqlite library which would be misleading because hes asking how to setup up...
Forum: C++ 15 Days Ago
Replies: 4
Views: 325
Posted By AceofSpades19
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...
Forum: C++ 15 Days Ago
Replies: 4
Views: 153
Posted By AceofSpades19
It would help if you posted the output you were supposed to have and what output you got
Forum: C++ Sep 10th, 2009
Replies: 3
Views: 456
Posted By AceofSpades19
Classes don't inherit friends and subclasses can't access base class's private members
Forum: C++ Jul 21st, 2009
Replies: 11
Views: 555
Posted By AceofSpades19
its because you are missing the while part of a do while loop
do {

} while (some condition);
Forum: Python Jun 27th, 2009
Replies: 5
Views: 842
Posted By AceofSpades19
If I understand you correctly, you probably want something like

if x is None:
print "x has no value"
Forum: C++ Jun 27th, 2009
Replies: 11
Views: 649
Posted By AceofSpades19
java and javascript are not the same, the only thing they share is the c like syntax. Java and JavaScript are 2 completely different languages
Forum: Python Mar 21st, 2009
Replies: 3
Views: 460
Posted By AceofSpades19
You can just do

import sys
sys.path.append('pythonpathhere')
Forum: *nix Software Mar 21st, 2009
Replies: 10
Views: 2,363
Posted By AceofSpades19
Probably around 1.5 gb I would imagine
Forum: Python Feb 22nd, 2009
Replies: 7
Views: 483
Posted By AceofSpades19
you could just do

print "The location of the largest number is", (1+l1.index(max(l1))

or something similar
Forum: Python Feb 20th, 2009
Replies: 7
Views: 483
Posted By AceofSpades19
It would help if you wrapped your code in [CODE ] [/ CODE] tags
Forum: Linux Servers and Apache Feb 15th, 2009
Replies: 2
Views: 3,152
Posted By AceofSpades19
its unix time not linux time
Forum: Growing an Online Community Feb 5th, 2009
Replies: 3
Views: 2,357
Posted By AceofSpades19
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...
Forum: Game Development Dec 29th, 2008
Replies: 6
Views: 859
Posted By AceofSpades19
Forum: Java Dec 28th, 2008
Replies: 3
Views: 318
Posted By AceofSpades19
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,...
Forum: Game Development Dec 26th, 2008
Replies: 6
Views: 859
Posted By AceofSpades19
I prefer to write the backend first because thats how I think and it seems more logical to me, what do you prefer?
Forum: C++ Dec 23rd, 2008
Replies: 15
Views: 1,046
Posted By AceofSpades19
FILE_NOT_FOUND obviously
Forum: Java Dec 23rd, 2008
Replies: 7
Views: 957
Posted By AceofSpades19
explain "didn't work"
Forum: Game Development Dec 20th, 2008
Replies: 10
Views: 2,261
Posted By AceofSpades19
IMHO, I would do C before Java or C++, Java and C++ can very complicated, moreso then C
Forum: Viruses, Spyware and other Nasties Nov 27th, 2008
Replies: 18
Views: 1,069
Posted By AceofSpades19
Its easier to do anti-malware stuff in safemode(press F8 at the splash screen) which turns off everything but essential services
Forum: C++ Nov 27th, 2008
Replies: 5
Views: 445
Posted By AceofSpades19
it also helps if don't have so many global variables
Forum: C++ Nov 27th, 2008
Replies: 3
Views: 758
Posted By AceofSpades19
rand() is in cstdlib and to make it more random you should seed it first with srand()
Forum: Java Oct 24th, 2008
Replies: 2
Views: 711
Posted By AceofSpades19
Can you post the code?
Forum: Mac Software Oct 19th, 2008
Replies: 9
Views: 7,219
Posted By AceofSpades19
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.
Forum: Java Oct 14th, 2008
Replies: 3
Views: 2,548
Posted By AceofSpades19
You can install 2 different versions of java at the same time
Forum: Java Oct 13th, 2008
Replies: 3
Views: 2,548
Posted By AceofSpades19
Are you running solaris?, if you are then you will need to execute the .sh file
Forum: C++ Oct 4th, 2008
Replies: 4
Views: 569
Posted By AceofSpades19
Forum: C++ Sep 14th, 2008
Replies: 7
Views: 613
Posted By AceofSpades19
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?
Forum: Computer Science Sep 2nd, 2008
Replies: 4
Views: 990
Posted By AceofSpades19
The linux kernel is written in C and some assembly, the GNU coreutils are usually written in C as well
You can get the source to the linux kernel at kernel.org, and the GNU coreutils source is at...
Forum: C++ Sep 2nd, 2008
Replies: 24
Views: 1,845
Posted By AceofSpades19
Don't use void main(), use int main() as I said in my previous post
Forum: C++ Sep 2nd, 2008
Replies: 8
Views: 599
Posted By AceofSpades19
are STL containers faster then c-style arrays?
Forum: C++ Sep 2nd, 2008
Replies: 6
Views: 487
Posted By AceofSpades19
Also, I would use #include <cstdio> and get rid of the void thing in main
Forum: C++ Aug 29th, 2008
Replies: 24
Views: 1,845
Posted By AceofSpades19
don't use void main(), use int main(). void main() doesn't compile on most compilers and is incorrect according to the standard
Forum: C++ Aug 24th, 2008
Replies: 5
Solved: Error Handling
Views: 892
Posted By AceofSpades19
surely you mean convert string to an integer using atoi()?
Forum: C++ Jul 31st, 2008
Replies: 12
Views: 1,386
Posted By AceofSpades19
Forum: C++ Jul 30th, 2008
Replies: 12
Views: 1,386
Posted By AceofSpades19
If you do 4 % 2 then it is 0, if you do 5 % 2 it is one, for example. That should help you
Forum: Getting Started and Choosing a Distro Jul 23rd, 2008
Replies: 4
Views: 1,450
Posted By AceofSpades19
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
Forum: C++ Jul 22nd, 2008
Replies: 14
Views: 6,464
Posted By AceofSpades19
Eclipse and Code::Blocks are good
I personally use Emacs of course ;)
Forum: C++ Jul 21st, 2008
Replies: 6
Views: 4,398
Posted By AceofSpades19
The most basic way is to use the system function, eg. system("program");. The other way is to use the fork() system call. eg.

pid_t pid;
pid = fork();
if(fork == 0){
execvp("programname");...
Forum: C++ Jul 19th, 2008
Replies: 3
Views: 1,414
Posted By AceofSpades19
Just put using namespace std; at the top of your files to make it simpler. You would use std:: in front of cout, cin, string and other things but those are the most common
Showing results 1 to 40 of 61

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC