General C++ Programming - February 2012 (Page 8)

Cool c++ program
 
A useful C++ program that allows you to shut down your PC after a period of time. If you have any suggestions share them. #include<iostream> #include<time...
[5 replies] Last: It says system should have a prototype?! (by prestige)
by jwings
How to solve thie error "error C2440: '=' : cannot convert from 'DynamicArray<T> *' to 'int *'" ?
 
main.cpp #include<iostream> using namespace std; #include"DynamicArray.h" int main() { DynamicArray<int> da(2); DynamicArray<int> db(2); ...
[3 replies] Last: You have ptr as int but in array_of_arrays ptr is DynamicArray<int> no... (by Texan40)
by Krahl
Octant Search
 
Hi, My question is a general implementation question about using the octant search tree method to give a spacial feeling to a grid of several points and then...
[no replies]
by jmrag
30 % possibility
 
Can you provide me with a code where ........... if(....) {....} where if has 30% possibility to be executed?
[2 replies] Last: thx a lot!! you really helped! (by jmrag)
by kungen
random suxx
 
Hey just wonder if there is a way to type out a random word. i cout my questions and then i cout random numbers, but how do i change the numbers to my words ins...
[1 reply] : The easy solution is to have the rand max be within the bounds of an a... (by Texan40)
Error about the scope of variable in c++
 
Hi all, I have a function and a structure both of which are defined outside the main function. I want to assign the value for my structure variable inside the ...
[2 replies] Last: The compiler searches declarations of names before their usage. I... (by vlad from moscow)
how to make superprime coding?
 
i have assignment and i really dont know how to make it. this is about superprime numbers, we will input 5digits number from 10000 until 99999. and then the pr...
[5 replies] Last: What? You don't need any logarithms, just scroll down to Example and d... (by Athar)
Payoff table for a loan?
 
I need to develop a c++ program that will provide the payoff table for a revolving credit card. The user should be prompted for the amount of the loan, annual i...
[2 replies] Last: I removed the cin lines, and included the calculations within the loop... (by Stripeb49)
Expression must have a constant value problem
 
cout << "Enter in width (X): "; cin >> temp; temp++; const int maxX = temp; cout << "Enter in height (Y): "; cin >> temp; temp++; const int max...
[4 replies] Last: Thanks! I was afraid that I would have to change a bunch of my code. T... (by FragdaddyXXL)
Unicode Conversion issue
 
Hi, \u with hexvalue is format to convert unicode value in rft fromat file which working for but not working in ascii file. what is the format to convert...
[no replies]
Convert char to int (not ASCII)
 
I want to convert a char to an int. e.g. char theChar '9'; int theInt = theChar; would this be the way to do it, i heard its only for 0 to 9, so how would i ...
[2 replies] Last: k thanks (by SuperStinger)
Key/Modifiers
 
nvm
[no replies]
by mike3
Does it "break OO" to use struct instead of class here?
 
Hi. I was wondering about this. I've got this: template<class V, class E> class Graph { private: /* Node object */ class Edge; class Node; typedef...
[11 replies] Last: Yeah, what I mean is when are the appropriate circumstances to choose... (by coder777)
by manu9
Using the stack class with an RPN calculator
 
I have been having troubles with this program for quite a while now. After about a week I finally got the RPN calculator to work as expected, my only trouble i...
[1 reply] : 1, at #28, x.top might top all before meeting a math symbol if it's as... (by b2ee)
by fugher
C++ Programming HELP NEEDED ANYONE!
 
Hi, I have a program that I am working on but I need some help with it. Here is the problem. The Silly Savings and Loan Company just opened up with a c...
[2 replies] Last: I have been changing it around trying to find different ways here is w... (by fugher)
by rucafe
problem using debugger
 
I was testing my program which has been running fine for a while. I wrote it using microsoft visual c++ 2010. I started to get some bugs so I was using the debu...
[2 replies] Last: Nevermind. I resarted my computer and the problem went away. Im not su... (by rucafe)
Anyone know SQLAPI++?
 
So, this will be my third post about this now. I've waited a few days for each other post I had about it, and no luck. So I'll try to general board. I've been h...
[7 replies] Last: Well, I don't know if it's even recognizing the name. I'm not sure if ... (by ResidentBiscuit)
by Kaos
Overtime Pay Program
 
Ok guys I just need a little push on why my program is not doing what I want it to do. Bare yourself guys, this may be a lot but all the work is done. Im pos...
[no replies]
pong stuff
 
i've google around for a site that has step to step tutorials on how to program the game pong but i havn't found anything that used VS 2010 and that is easy to ...
[2 replies] Last: i wonder what the shortest code length for pong is. If using a media ... (by closed account zwA4jE8b)
by oonej
Editor + Compiler + Networking
 
Is there a networking editor that a friend of mine can see what i'm typing, as well so they can type on it at the same time? And then have that code compiled...
[5 replies] Last: logmein or windows remote desktop (this one probably you need in the s... (by b2ee)
February 2012 Pages: 1... 678910... 43
  Archived months: [jan2012] [mar2012]

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