
please wait
by jlillie89
Example from class
|
Hi, We did this example from my course. It is just a into c++ so he was sort of telling asking if we knew how to do something that was beyond my course a little... |
Dec 12, 2012 at 5:17pm
[6 replies] Last: OK, I will practice this concept. Thankyou all. (by jlillie89)
|
by rey9
cin.ignore??????
|
there is something wrong with my code. i am doing a c++ database. i used getline() to read the line I've inputted but when i used cin.ignore(), my program was ... |
Dec 12, 2012 at 2:58pm
[1 reply] : cin >> cmd; // this reads in cmd and leaves '\n' unprocessed ... getl... (by Cubbi)
|
by noysoffer
Rabin Miller Test
|
In Number Theory, I learned about the Rabin Miller Test to check if a number is prime, so I began writing a code using the test, and for some reason, the code s... |
Dec 12, 2012 at 2:57pm
[no replies]
|
by luchiano
Text File with strings and integers to an 2d Array
|
Hello, I want to read a txt file that contains intgers and string in c++ prgram. i know how to do it with one single array with intgers or strings only. can y... |
Dec 12, 2012 at 2:10pm
[1 reply] : It depends on how the text file is formatted. At first glance this loo... (by Chervil)
|
array |
hello everyone can someone help me about array plsss i really need help right now using one-dimensional array. create a program that will count the number of t... |
Dec 12, 2012 at 1:07pm
[8 replies] Last: cout<<"THANY YOU"<<; (by closed account 4y79216C)
|
by Soorena
+
|
how can i summation 2 huge number for example 2 number with 12 character? please explain arrays and the way of transformation char to int thank you... |
Dec 12, 2012 at 1:02pm
[4 replies] Last: thank you very much (by Soorena)
|
by EZX
Why is my code not doing the task im asking?!
|
Calculate a massive A elements which are randomized within the interval of [-5, 5], n and m, is inputted by user. Afterwards get all the positive numbers from... |
Dec 12, 2012 at 12:53pm
[4 replies] Last: Note that median is not necessary the same as the average. I don't thi... (by Peter87)
|
by jsnookiii
help with functions please
|
im trying to make a program that uses functions to break up the code blocks but can't figure out what im doing wrong // PP4.cpp : main project file. //James ... |
Dec 12, 2012 at 11:59am
[2 replies] Last: You've got a number of problems: Lines 37-43 - You don't put the ty... (by AbstractionAnon)
|
by fpiro07
Erase white spaces from stream
|
I input 9X^3 + 5X into a string using the getline() function. I want to erase the white spaces in order to obtain 9X^3+5X . I can do that with a simple f... |
Dec 12, 2012 at 11:32am
[3 replies] Last: To swallow the leading whitespace before an unformatted input function... (by Cubbi)
|
by supcello
switch statements
|
Hey, ran into a little bit of a problem. I'm making a menu that uses switch statements which uses function prototypes. I guess my question is, do I have to wr... |
Dec 12, 2012 at 11:28am
[11 replies] Last: #include <iostream> using namespace std; void rows(); void convert()... (by supcello)
|
by hasanfaraz
Need to convert xml file into property tree using Boost::property_tree
|
Hi, I have written this code for reading xml file and converting it to property tree using boost, but I'm getting few errors . I am new to c++ and might have d... |
Dec 12, 2012 at 11:09am
[1 reply] : You have declared PositionManagementDetailsSave and PositionManagement... (by AbstractionAnon)
|
by chili2424
First Program in VS 2012 failed -- help?
|
Hi, I've just picked up my first book in C++ and tried one of the beginning codes they sample in the book. I downloaded Visual Studios 2012 and created a new... |
Dec 12, 2012 at 8:02am
[4 replies] Last: @guestgulkan Yes, this fixed the problem thank you. @alistjazz You ... (by chili2424)
|
by supcello
columns and rows.
|
Hey, if anyone could help me I'd greatly appreciate it. I need to write a function that prints a 10 x 10 pattern of X's. Thank you! ++ |
Dec 12, 2012 at 7:21am
[2 replies] Last: Thanks a lot! I wrote this before, but if you don't practice it goes a... (by supcello)
|
by ft95
about arrey
|
How we can define one arrey in two type? for example I want use of an arrey as char and int. how can I do it? |
Dec 12, 2012 at 7:10am
[7 replies] Last: @OP, how would such a structure help you do that conversion? (by hamsterman)
|
by fpiro07
Get unformatted input with variable length
|
Is there any way to get unformatted input with variable length? I know there's getline() but in order to use it you have to tell it the length of the strea... |
Dec 12, 2012 at 6:37am
[4 replies] Last: Ok thank you very much guys you helped me a lot. (by fpiro07)
|
by adsquared
Error I've Never Encountered before.
|
Hello, I have an error that I am having a hard time comprehending because there isn't a lot of explanation, and I have tried searching for hours for similar... |
Dec 12, 2012 at 5:41am
[1 reply] : You're stepping out of bounds of your lookup tables. Take a closer lo... (by Disch)
|
Tic-Tack-Toe problem |
I had to create a program for my c programming class for a tic-tack-toe board. the program worked just fine until I found out part of it was suppose to be a fun... |
Dec 12, 2012 at 5:40am
[3 replies] Last: By the way, use the bar on the format. It looks like this: <>. Thi... (by closed account oN3AqMoL)
|
by BlazingNoob
Help please confused
|
So, I'm new to this and I just watched a tutorial I have copied everything he had, except for system("pause"); because the thing wouldn't launch with that every... |
Dec 12, 2012 at 5:16am
[2 replies] Last: @Blazing. please use code tag and make your code easier cout << "P... (by Felicia123)
|
by dancks
Best way to advance c++ knowledge?
|
This is basically the run of the mill "what books do you recommend for programming?" But with a twist: Im gonna be moving out soon, and I'll need to save money ... |
Dec 12, 2012 at 5:02am
[1 reply] : If you'll be Internet-less then you'll wanna find a good source of doc... (by ResidentBiscuit)
|
by Sutton Shin
Having Trouble with C++ Checker
|
Hi people, I have problems with the following code. It is supposed to expand on the green tao theorem. // Efficent Prime Check 1.cpp : Defines the entry po... |
Dec 12, 2012 at 4:22am
[2 replies] Last: it still does not work. (by Sutton Shin)
|