General C++ Programming - February 2011 (Page 2)

code optermisation
 
hi i was wondering if i could have some help in optimising this code i need to reduce the time it ta...
[6 replies] Last: thanks i am using dynamic cause the assignment says it has to be usual... (by angelofsloth)
by h9uest
CAPTCHA breaking
 
Hi all: Probably this is not so related with C++ since one can do the job with any other language...
[1 reply] : To clarify: I don't want captcha systems like the reCaptcha, which ... (by h9uest)
Question regarding Enqueue, Dequeue
 
Hi Can anyone help me with my enqueue and dequeue, I am supposed to read from a file and insert int...
[no replies]
overwriting integers from a function
 
i really need some helop here guys. heres the deal; i need the numbers re-entered in my bool fun...
[2 replies] Last: that did it. thats alot! (by neverknownig)
by Cyraxz
Unputting decimals into an array then displaying them.
 
So i am putting some numbers into an array using a basic calculation and then checking to see if the...
[6 replies] Last: Oh! and jimc is absolutely right in his second point also. What you w... (by Caligulaminus)
by cida
calculator
 
cout<<"pls can i use c++ language to write a functional calculator?;
[3 replies] Last: @alex1205: May I ask why you gave that to him... Since he didn... (by king214)
by fafner
binary conversion crash
 
I'm testing out Qt, and I've written a binary conversion widget. First my conversion algorithm was l...
[4 replies] Last: you can easily use itoa_ function for conversion,but it's not standar... (by alex1205)
C++ Star Pyramid
 
Good day again, now I give the simple program that will print out a STAR PYRAMID with 10 layer. Hop...
[4 replies] Last: What more do you need. It wont compile on a C compiler, will it? This ... (by simeonz)
Iterator inside class template
 
Hello, I'm trying to declare an iterator to a list whose container type is a structure that I...
[3 replies] Last: I typically use typename instead of class as I find that to be les... (by Disch)
math is breaking i think...
 
i am in a discrete struct class and a program i had to make works but also seem to get negative numb...
[2 replies] Last: i closed and reopened it and now i am getting right answers... stupid ... (by kyle11778)
getString function problems
 
Hi evryone, i'm having the two errors below and the debug will not give the line where is the pro...
[3 replies] Last: the way you deal with dynamic arrays is wrong. it should be char* a... (by hamsterman)
Problem with #include w/ complicated file structure
 
So I'm working on a little computer game doodad, I'm a relative newbie at c++ so there's likely a so...
[2 replies] Last: wow, thanks for the informative answer! (by zanielyene)
Source key lock, F2,F3,F1
 
Good the other day I passed this source that supposedly serves to lock the keys on the keyboard ( in...
[no replies]
by Amanda
only works if I include "&", but not suppose to.
 
Here is my beautiful WORKING code: This is a tester, sort of... #include <cstdlib> #include <i...
[5 replies] Last: It's hard to say what exactly your teacher intended. It is also hard t... (by simeonz)
reading in words from a file and making an array list
 
i am trying to put a list of 78 words onto an array of strings so that it can be checked the program...
[4 replies] Last: my lecturer would kill me for a rookiie mistake. yeah usually i use vs... (by angelofsloth)
by DMEW
What is the best way to go about making a C++ server
 
i got a simple word game i made and want to make it work online so you can verse another player. Im ...
[4 replies] Last: thanks a lot guys. ill look into the windows sockets (by DMEW)
int *hh=I_1(x+1)
 
What does this mean exactly? Thanks
[5 replies] Last: I_1 is not a keyword, nor a standard library function. It could be fun... (by simeonz)
Singletons using smart pointers
 
Hey there, so I've been fiddling with singletons lately and tried to write one using smart pointers...
[18 replies] Last: This, I think (tested it a bit) works: #include <boost/utility.hpp> ... (by simeonz)
C++ finding common factors of two integers
 
Gud day, Ive created a simple program that will print out the COMMON FACTORS of two numbers. Hope i...
[no replies]
Early initialization of static local variables.
 
I had this posted as request for clarification in another thread, but it deserves a thread of its ow...
[3 replies] Last: Thanks. The comments in the body of the costructor and function were s... (by simeonz)
February 2011 Pages: 1234... 25
  Archived months: [jan2011] [mar2011]

This is an archived page. To post a new message, go to the current page.