Beginners - June 2015 (Page 27)

Help me.
 
How do i create the matrix code effect. I am only starting to learn C programming, i read the book ' Let us C' it helped me quite a lot. but as iam only...
[7 replies] Last: thank a lot for your advices (by Rinmawia)
Shoting in error
 
Please Check what is problem . it give error Cerror: no matching function for call to 'TreeNode<char>::setInfo(char*&)'| #include <iostream> #include <s...
[1 reply] : You defined your TreeNode instance as a <char> type, yet you try to ca... (by jlb)
by koopey
what to do next?
 
I finished jumping into c++ few days ago. and i don't know what to do next and what should i learn or what is there to learn for that matter. For ...
[5 replies] Last: @AbstractionAnon sure would start practicing now. (by koopey)
How to Replace Bits of Strings
 
I am making a tic-tack-toe game, and I don't know how to make the board replace a space with an x or an o. For example, I need the board, which one row look...
[3 replies] Last: Have you looked at how other people have done it? http://runnable.com/... (by CodeWriter)
Calculator
 
I've created this calculator, which I'm using arrays in to accept any amount of numbers. For example, you can enter " 5 - 6 - 3 - 5 " then subtract them all. Ho...
[6 replies] Last: Note that the length of op is equal to length of x +1 Thinking of 1 ... (by andywestken)
How to print out this pattern
 
Hi! The pattern I need to print out looks like the right and the left side of a triangle combined. I can print out the right and the left side of a triangle...
[1 reply] : One outer loop over the rows. Inner loop over the columns of one row. ... (by keskiverto)
Little bit of help pls
 
Hi, I dont know where is my error, after i put my word nothing is happning... //User enters 2 character sequences(each doesn’t exceed 100 character...
[6 replies] Last: :-) Also, this [code firstline=25] string worduser = ""; for (int ... (by andywestken)
If statements not working
 
Hello. I wrote a code that will put either a 1 or -1 into a "Box". I am having trouble getting 1's to pop up. I switched the probabilities around so that they s...
[3 replies] Last: Line 16: What do you think you're storing in box ? Hint: c is unin... (by AbstractionAnon)
How to output numbers in a certain format?
 
If I want to output all number in scientific format and with 4 effective digit. I mean all the output in everywhere of the whole program. How can I do tha...
[1 reply] : By scientific format do you mean scientific notation? Such as 3.86 x 1... (by omurad)
Storing the journey of a robot through two dimensional grid
 
Hi all, I'm solving a project where I'm supposed to handle and record movements of a robot in a two dimensional grid, based on string input from the user. (o...
[1 reply] : will be overwritten when trip two will be run Well, that is what you... (by keskiverto)
by omurad
Sleep between 2 outputs issue
 
How come this runs normally #include <iostream> #include <time.h> using namespace std; int main() { cout << "1" << endl; sleep(1); cout << "2" << endl; ...
[4 replies] Last: Thank you! (by omurad)
Can't figure out my error
 
#include<iostream> #include<string> #include<iomanip> #include<math.h> using namespace std; struct car { char brand ; char colour ; flo...
[8 replies] Last: Make sure you open a bracket after your for loops and then close the b... (by omurad)
getline with struct?
 
Hi I am trying to create a collection array of videos from a text file that contains the year and name of the movies, eg 1994 tron 2015 mad max 1997 ...
[2 replies] Last: Thanks a lot! I'll fiddle with my logic a bit. Adding std::ws to the e... (by frazfraz)
by iBz
Excel Spreadsheet File Handling
 
Hi everyone. I wrote a short C++ program which creates a .xls file and stores some stuff in the file. When I open the .xls file, Excel gives me this error: http...
[7 replies] Last: I wrote code ages ago that successfully wrote files conforming to the... (by ajh32)
How can I make this amortization library program run?
 
These are the instructions for this program I have to do: http://justpaste.it/lk6s . It has two source files and one resource file. I think I am close to gettin...
[1 reply] : pow(...) requires two pramameters (base and exponent): http://www.cpl... (by coder777)
Weird Strings
 
I apologize for posting on the forum twice. I am trying to organize the names to print out the order of their respective numbers from largest to smallest. F...
[6 replies] Last: Your welcome :) (by Codermik)
Keeps returning false, when it needs to be true
 
So I am practicing on my program on returning on false or true but i am having issue with the returning it keeps returning false where it needs to be true not s...
[11 replies] Last: #include <iostream> #include <cstring> using namespace std; bool che... (by closed account 48T7M4Gy)
Arrays of type struct.
 
It gives me error in the initialization of array along with lot more errors.I tried a lot to find the reason of errors but could not.Please compile it in your c...
[3 replies] Last: thanks @jlb and PSYCHAMERON (by sohailahmedepe)
by Atton
A Broken File Reader
 
I've been working on a file reading piece of software, that has a few major issues. It has a habit of putting data in places where it originally does not belong...
[no replies]
Input use in Output
 
Write your question here. Whenever I put in a number other than 42 it doesn't input the number after the sentence like I want it to. For example, if you p...
[2 replies] Last: http://en.cppreference.com/w/cpp/string/basic_string/to_string (by mutexe)
June 2015 Pages: 1... 2526272829... 32
  Archived months: [may2015] [jul2015]

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