
please wait
by bartoli
COnfused about printing order
|
Hi, I just lost a few hours trying to make a program work because i was thinking it returned illogical values, because i printed them the wrong way The code... |
Apr 30, 2013 at 1:20pm
[5 replies] Last: in addition to said by vlad from moscow gcc usually evaluate right-t... (by MiiNiPaa)
|
by Just Nero
Opening a folder whit cpp
|
When im opening a folder in cpp whit system("start C.....") i dont know how to write the path when some folder has space betwen words... example system("st... |
Apr 30, 2013 at 12:45pm
[5 replies] Last: i open program files whit this: progra~1...something like that... ... (by FSchwartz)
|
fucntions |
i need to edit this code so that my main look something like this void telluser(); int DetermineSpeed(); bool DetermineDrunk(); void DetermineFine(int Spe... |
Apr 30, 2013 at 10:21am
[2 replies] Last: THANKS VERY MUCH ACEIX.. ILL TRY WORK ON IT. (by dharmendra1281)
|
by Daleth
Odd string returned from typeid
|
I'm developing a template function that takes in containers as a parameter. The function will use typeid to check if a container was passed in or not. Since I'v... |
Apr 30, 2013 at 9:42am
[6 replies] Last: > I'm pretty unfamiliar with boost and even more so with cxxabi.h, so ... (by JLBorges)
|
by Kaveman
user defined datatype/vector elements
|
Write your question here. I have a user defined data type it has 5 strings and 6 ints that make up the object. this object is one in a vector. how do you c... |
Apr 30, 2013 at 9:31am
[2 replies] Last: You tried something like this? structCDATA { string szName; ... (by Aceix)
|
by zenniz
How to simplify these strftime program???
|
How to simplify the code below? I got stuck with the third parameter of strftime. Assume that the time is already set char t_timedate ; int tc_timeda... |
Apr 30, 2013 at 9:24am
[4 replies] Last: Thanks alot! (by zenniz)
|
by coal
counting in a vector
|
Hey, |
Apr 30, 2013 at 9:17am
[3 replies] Last: haha.. this way we will be left with only answers... (by writetonsharma)
|
by NeoMopp
Correct usage of Template Class
|
Hello there, first time poster so be gentle ;) So I'm currently making a program and am trying to use Template classes and I'm unsure if what I'm doing is corre... |
Apr 30, 2013 at 9:06am
[3 replies] Last: It looks like that you placed the definition of the template class and... (by vlad from moscow)
|
by irodeknight
Initialize array in constructor
|
Question : Hi, I've been programming in Java for 2 years and C/C++ for almost a year now. I'm still confused at some things because the difference of the la... |
Apr 30, 2013 at 9:02am
[4 replies] Last: Thank you very much :) (by irodeknight)
|
by coal
ifstream
|
I am trying to read some data from a text file, and place it into a structure. The text file consists of an integer number followed by two strings. Written in "... |
Apr 30, 2013 at 8:19am
[2 replies] Last: I thought I'd repost before you deleted it as you did previously. Ple... (by kbw)
|
by thegege
Declaring many arrays by means of loop
|
How could many arrays be declared by means of a loop, for example : array1={...}; array2={...}; array3={...}; array4={...}; . . . ;array100={...}; Is it p... |
Apr 30, 2013 at 7:43am
[6 replies] Last: There are lots of ways of storing data. One advantage of the STL conta... (by TheIdeasMan)
|
Reading a string until '-' is encountered |
The input looks something like "Bob-Harper" I want to read "Bob" as string1, "-" as char1, and "Harper" as string2 At the moment when I use input >> string1; ... |
Apr 30, 2013 at 7:36am
[1 reply] : std::string first, second; char delimeter('-'); //It is always '-' is... (by MiiNiPaa)
|
by youngnito
Help with Array
|
Super quick question about arrays and I am sure it has a very easy answer lol. Can I add to an array that is defined by an int. I will give an example: ... |
Apr 30, 2013 at 7:22am
[6 replies] Last: nope that is an error haha thank you for pointing that out (by youngnito)
|
by pinkythumb13
Homework Help - Series Program
|
Write a function that returns the value of the following series. f(n, y) = (1/y)( 2 + 1/3 + 4 + 1/5 + 6 + 1/7 + ... + x ) where the values n is the number of... |
Apr 30, 2013 at 6:05am
[1 reply] : There is something called recursion in which a function calls itself f... (by Daleth)
|
by Sl1ck
Program compiles but won't Run? (Dev C++)
|
Okay this is a first for me. My code compiles absolutely fine with no errors what so ever. But when I click "Run" or "Compile & Run", the little command window ... |
Apr 30, 2013 at 6:00am
[4 replies] Last: It could be really hard to spot a runtime error by looking at the code... (by TheIdeasMan)
|
by aggsyb
Identifying/hooking to software
|
Hey guys, As I said in my previous post I am a complete and utter noob when it comes to c++ but im learning as much as I can from articles and youtube and re... |
Apr 30, 2013 at 5:39am
[5 replies] Last: So, are you using MFC ? mouse click will work as usual because you c... (by writetonsharma)
|
by StickyCube
Big Int class
|
Hi guys, So, I've been doing some of the problems on Project Euler for a while and it seems a few of them require the manipulation of very large numbers so I... |
Apr 30, 2013 at 5:34am
[3 replies] Last: How can a user insert a 100 digit number to your class. I may be missi... (by writetonsharma)
|
by arashf
Initializing the object members over and over
|
I need to do calculations inside an object which changes the values of its members. To same memory, I want to write over the objects in the next step of the alg... |
Apr 30, 2013 at 4:42am
[3 replies] Last: make a member function that reset the data. Your code is wrong rewrit... (by AkramIzzeldin)
|
by kabuki
Printing an array.
|
I just want to know if I am doing this code correctly because when it outputs, it shows the numbers that I've entered but it only display one name for all. ... |
Apr 30, 2013 at 4:32am
[3 replies] Last: Thank you, that fixed my problem. (by kabuki)
|
by Melicalol
How to remove digit, punct w/o ' ' spacing.
|
This is the code I want to improve. Is it possible to remove words and punctuation without having to use spacing ' '? If so can anyone show me how or show me a... |
Apr 30, 2013 at 4:12am
[1 reply] : You were on the right track with remove_if . #include <iostream> #i... (by cire)
|