Beginners - November 2016 (Page 35)

writing in 10 files and reading from them
 
Hey, I am very new in programming and C++. My first task to learn is creating 10 random number ge...
[3 replies] Last: @integralfx At the moment, you are writing 10 numbers into 1 file. ... (by Boxbird)
by totals
Idk whats wrong here?
 
So i just sent in this code for school so its all said and done but i don't understand what i change...
[2 replies] Last: I think (but not quite sure) that the problem is that you are using a ... (by lastchance)
Excess Charaters
 
char message1 ; if (Serial.available()) { for (int i=0; i<1000;i++) message1 = Seri...
[6 replies] Last: Ah I see, i didn't know that Serial.read() returns -1 if there is noth... (by kenchia10)
by totals
PLZZZZ HELP.. Simple Functions
 
so i need to know how to create a function that will display a message that prompts the user for a w...
[4 replies] Last: So it displays the prompt asking the person for the message, but it ... (by Boxbird)
Problem with gets() input statement
 
I have tried this code (in multiple programs) using dev c++ and code::Blocks but the first gets() co...
[3 replies] Last: After you use cin >> something; , you must use cin.ignore(); before... (by Boxbird)
by Hengry
Need help with undo and redo functionality for my spec
 
I need help implementing UNDO / REDO. The functionality should do something like this: https://gyazo...
[no replies]
deleting string from a vector element
 
Hello there. I am doing a converter from 12 hour system to 24 hour system. the user input shou...
[2 replies] Last: #include <cctype> #include <iomanip> #include <iostream> #include <s... (by integralfx)
My Program Skips certain bits of code (ifs mainly)
 
SO i am back again and sorry to be a bother but i don't even know what i would search this as and fr...
[5 replies] Last: [quote=SakurasouBusters]Should be : cin.clear(); cin.ignore(1000, '\n... (by mbozzi)
How do you have a function return a 2D array to be then accepted by another function?
 
Can someone show me the correct way to have a function return a 2D array, then have that same 2D arr...
[1 reply] : char **giveArray() { char 2DArray = {{a,b} , {c,d}}; return... (by integralfx)
by Domo18
Coding Error Unidentified
 
Anyone can identify what's wrong with my code here? Please. #include <iostream> #include <cmat...
[2 replies] Last: Please, use the code tags when you post the code. Hit Edit, highlight... (by chicofeo)
by Scuffz
how to get array in main to my class function
 
http://i.imgur.com/hbjVeB9.jpg http://i.imgur.com/EJsiMUb.jpg looking at s3 how can i get that array...
[1 reply] : Could we see the IntegerSet class? if( (*ptr) ) is invalid, as (*p... (by integralfx)
by MMe24
Guidance on constructors
 
Hi, this is my first time posting but I have been reading the forum for some time to usually help me...
[4 replies] Last: There is a 'Private:' as well, can I return the functions declared in... (by gunnerfunner)
enumeration type triangleType with values
 
could someone help me make sense of this question please? "8. Define an enumeration type triangle...
[1 reply] : enum triangleType { EQUILATERAL, RIGHT, ISOSCELES, SC... (by SakurasouBusters)
txt file into multi dim array table
 
#include<iostream> #include<string> #include<fstream> #include<cstdlib> #include<sstream...
[10 replies] Last: okay so the problem is... i know how to create arrays. haven't even th... (by NavyVetSafIn)
by lolpwn
Cant get out of my do-while loop
 
When I press X or x it does not end the program, instead it prompts my default case, then the loop s...
[3 replies] Last: Your condition( lastorder != 'X'|| lastorder != 'x') will result in an... (by rabster)
Input/Output Program's Output file is blank
 
I'm currently taking an "introductory" C++ course for biology majors and my professor gave us a code...
[8 replies] Last: How would I be able to check to see if the file is being opened? Ch... (by cire)
C++ program functions
 
#include <iostream> #include <string> using namespace std; int GetNumOfNonWSCharacters(); FindTex...
[2 replies] Last: how can i make the menu work i have this #include <iostream> #inclu... (by elmessican)
Help using for loop a formula
 
Hi there! I'm new to programming and I've trying some exercises of the for loop but I'm having some ...
[2 replies] Last: Indeed something simple. It works fine thank you! (by mafegam)
Implement methods for class called Rectangle
 
I need help finishing this program. I keep getting an error that says " expected initializer before...
[2 replies] Last: Here you go: (by kaylasimone96)
Input/Output Assignment Trouble
 
Been struggling with input/output in my programming class, my assignment is due tomorrow at midnight...
[1 reply] : http://www.cplusplus.com/reference/cctype/ (by integralfx)
November 2016 Pages: 1... 3334353637... 44
  Archived months: [oct2016] [dec2016]

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