
please wait
by munjo5746
I have question about ifstream!!!
|
Hi, I have question about the ifstream!!! I am taking algorithm class right now and have one project that sort words from large size text file. So in my progra... |
Jun 23, 2013 at 2:26pm
[2 replies] Last: Thank you very much!! It seems work correctly now!!! thanks a lot!! (by munjo5746)
|
by empror9
use vector as reference
|
hello, I'm writing a programme and I want to pass vector as reference. main.cpp #include <iostream> #include <vector> #include "Customers.hpp" using namesp... |
Jun 23, 2013 at 2:18pm
[7 replies] Last: Unless you are planning on using polymorphism in the customers, don't ... (by ne555)
|
by h4cksoldier
I come from China, I can learn it here?
|
I am a 17-year-old boys, but I was a c programming novice, I want to learn, you can give me some suggestions for me? And my English is not very good, I think th... |
Jun 23, 2013 at 11:26am
[3 replies] Last: Thanks, your are very enthusiastic, and I think I should learn from yo... (by h4cksoldier)
|
Error in applying strftime() method |
I am facing a problem in mysql query execution. My code is following. conn = mysql_init(NULL); mysql_real_connect(conn,"","root","root","trafficdetai... |
Jun 23, 2013 at 9:51am
[2 replies] Last: Or you can use if (strcmp(buffer1, "Monday" == 0)) or even if (0... (by andywestken)
|
by coder1
graphing calculator
|
Hello, When i was reading a topic in c++ forum, one person wrote a list of project ideas in c++, one of those was to make a graphing calculator, but I was wond... |
Jun 23, 2013 at 9:22am
[no replies]
|
program instantly closing |
ive been trying to get the program to calculate package A with 30 hours but it instantly closes without calculating. not sure what i did wrong //An Intern... |
Jun 23, 2013 at 8:52am
[4 replies] Last: No problem. If you need help just check back on site and there will al... (by closed account EwCjE3v7)
|
by Imme
Word guessing game
|
Ok so I did this program, but I don't know what the problems are,the computer is supposed to generate a random 4 letter word ( not necessarily meaningful), and ... |
Jun 23, 2013 at 8:31am
[5 replies] Last: No problem. Glad you figured it out. (by Mathhead200)
|
Doubt about transforming a recursive function to an iterative |
hello, I have a doubt about transforming a recursive algorithm into an iterative, according to something i remember that it could be done with a stack or with a... |
Jun 23, 2013 at 7:02am
[1 reply] : Try not to double post. When you post a new topic, try to be as concis... (by Smac89)
|
by rezivor
Constant Loop/Interest question
|
I have a homework question that asks the following: Write a C++ program that calculates a portfolio rise and fall over a number of market sessions. At each st... |
Jun 23, 2013 at 6:32am
[1 reply] : Your while loop should have ans == 1, not ans = 1. When declaring ans... (by crimsonzero2)
|
by lmsmi1
Coordinate Issues
|
I'm writing an application (obviously, duh) and coordinates are getting very, very confusing now that I've added SFML to my application. This program of mine is... |
Jun 23, 2013 at 4:30am
[1 reply] : if (newLine == true) { myTxt.setPosition(0, myTxt... (by Disch)
|
Split current date |
Hi, I have to categorize the time into hour basic and day basic. I am using NOW() to store the current time. Here the time stores as "2013-06-22 13:40:04", I n... |
Jun 23, 2013 at 3:58am
[1 reply] : I've got it.. This is the way.. time_t rawtime; struct tm * timein... (by Krishnananthan)
|
by drake1313
Loop issue concerning doubles
|
When I run my program I enter the amount of sales I need, then enter those sales. Then the main function should print the info that was returned. But it prints ... |
Jun 23, 2013 at 2:57am
[2 replies] Last: Well I want to do that, but I'm not returning numSales. So when I do t... (by drake1313)
|
by Vigii
How to create a gui from pre written and working c++ code
|
Hi All, I have posted one of my codes below. Here I'm trying to create a GUI for this code which takes the input values from user using GUI and displays r... |
Jun 22, 2013 at 11:58pm
[6 replies] Last: can you give me an example. That is quite a big ask. The problem is... (by andywestken)
|
by a967Bytes
Parameters and Variables
|
Hello. In simple English Can we just say that parameters are the mathematical rule or equation ? And variable is the changing values that produce a differen... |
Jun 22, 2013 at 11:34pm
[11 replies] Last: I think I got confused because I got statistics class, because I am no... (by a967Bytes)
|
by nsahawks7
"Cin" Issue solved, but new one arose.
|
THIS ISSUE IS SOLVED, the next one isn't If I take out the cin (along with the digits variable) it will build and run fine, but if I put the cin in the co... |
Jun 22, 2013 at 11:29pm
[13 replies] Last: You are using doubles try int (by closed account EwCjE3v7)
|
by ReKing
I have a problem with running the program
|
I've tryed to make a program which one calculate the maximum subsequence from a vector. example: ss1.in : 7 5 -6 3 4 -2 3 -3 ss1.out : 8 3 6 Subsequence maxim... |
Jun 22, 2013 at 9:58pm
[4 replies] Last: Thx I think that the topic could be close by an admin ^_^ Thank you gu... (by ReKing)
|
by Michael37
Proper Use of cin.ignore()?
|
I have seen a few code samples of cin.ignore() being used, but I am still not totally clear about all the situations in which it should be used. Should it ... |
Jun 22, 2013 at 9:54pm
[3 replies] Last: I had the same idea and I brought it up in a Lounge thread once, but I... (by Daleth)
|
by cshu
name arranger c++
|
here is my code: #include <iostream> #include <string> using namespace std; int main() { string fullName; cout << "Enter your full name (firs... |
Jun 22, 2013 at 9:16pm
[4 replies] Last: OK. Than correct me if I'm wrong but I've been reading a little bit an... (by lockandstrike)
|
by Marc Colome
Help building a very basic 3d car game engine
|
Hello at all I'm planning to build a basic 3d game engine. It would const of a car and a track (both already made in 3ds max). The game engine should have col... |
Jun 22, 2013 at 8:18pm
[9 replies] Last: You need a team, and to separate jobs, every person for his job For me... (by a967Bytes)
|
by billywilliam
Pointer Scope
|
I'm having trouble understanding the scope/"life-expectancy" of local data pointed to by a pointer that is then returned. int** GetTable(){ int table1 =... |
Jun 22, 2013 at 7:36pm
[10 replies] Last: @Disch I knew you would have a sensible answer - so thanks ! (by TheIdeasMan)
|