Beginners (Page 20)

Undefined reference to function but it has been defined?
 
Here is the main #include <iostream> #include "orderedLinkedList.h" #include "LinkedListType.h"...
[10 replies] Last: Yes peter and icy. This is how I initially understood it, but try as I... (by redman008)
c++ loop for continuous adding
 
How do I make a loop with while or do while that can add until I reach 100 or over?
[2 replies] Last: #include <iostream> int main() { unsigned short top_num = 0; s... (by FurryGuy)
Doing homework for a class I'm not enrolled in
 
Hello! I'm trying to learn C++ by having my friend in class send me his homework and me just doing i...
[9 replies] Last: You can have your Section enum store the prices directly as part of th... (by FurryGuy)
c++ while within a y/n while loop
 
I'm doing a while loop within another while. The while within the while works fine if I eliminate th...
[5 replies] Last: Probably want to re-initialize i too for that second run... (by zaphraud)
print functions messing with my totals?
 
I have this program properly counting the uppercase, lowercase, and digits in a text file. However, ...
[4 replies] Last: If you want a function's return value to be assigned to multiple varia... (by FurryGuy)
alternative to string. insert with algorithm
 
this is how i insert character in array of character. char arraytest ; int position; ...
[4 replies] Last: There are several different ways to add characters and std::strings to... (by FurryGuy)
Cannot stop sentinel loop from running away.
 
So, I have written one program already that is supposed to allow a user to input the word length of ...
[2 replies] Last: Thank You so much for your wisdom. I have not had time to revise the c... (by Mjimmie1)
Unable to understand unexpected behaviour
 
I am confused why am I facing infinite loop in line 20. #include <iostream> #include<string.h> #i...
[2 replies] Last: Thanks a lot, I will remember your advice,thanks again (by samir1996)
Char Array input
 
How do i input(cin) char array for example name and user inputs "Mike Jordan" and the computer scan...
[2 replies] Last: Thank you very much on help! (by Bakenhuman)
Printing a 2D Dynamic Array Class
 
Im coding a game called Gomoku(Gobang) and i have used a 2d dynamic array to implement the board in ...
[4 replies] Last: Thanx bro..works perfectly! Only problem was that i had char** board =... (by Mattthews)
Issue when modularizing simple program
 
I had to create a program that reads from a text file, and then counts the number of uppercase, lowe...
[7 replies] Last: Yes. void aFunction (int& a, int& b, int& c) If you are not going ... (by FurryGuy)
Problem With Random Number Generator
 
I am a college student taking a C++ class, and was given this assignment: Goal: Write a program tha...
[4 replies] Last: THANK YOU SO MUCH AGAIN!! THAT REALLY HELPED !! @DHAYDEN (by mysiarobin1987)
c++ decreasement in printing after y/n sessions
 
I'm not sure why, but every time after I type in yes, the program prints less numbers than requested...
[2 replies] Last: Thank u (by DigiLei)
Converting from standard time to military time
 
Write a C++ program that reads a time from the keyboard. The time should be in the format "HH:MM AM"...
[1 reply] : Hello dstuck15, Welcome to the forum. Do not think about the whole p... (by Handy Andy)
by Daean
Help
 
Hi, there. I have some troubles with my code... so.., you can see below the code.. If I type 'l' any...
[3 replies] Last: Hello Daean, You are welcome. If you are done put a green check in t... (by Handy Andy)
c++ do while inside another do while
 
Is it possible to put a do while inside another do while? If so, could someone show me how it works?
[2 replies] Last: thanx (by DigiLei)
files are damaged after being downloaded from an ftp server through sockets
 
I send the command RETR and the name of the file I want to download. This file is downloaded into a ...
[3 replies] Last: all modern software is coded to handle the minor differences in text f... (by jonnin)
Function that prints the frequency of all words that appear in two given texts?
 
Hi. I need to create a function that prints the frequency of all words from two given texts. I must ...
[12 replies] Last: So how exactly would I iterate through words using pointers? You did... (by Thomas1965)
double space:
 
#include <iostream> using namespace std; #include <string> int main () { int a; int b; i...
[1 reply] : You should use [ code ] [ /code ] tags (without spaces) around your ... (by icy1)
Pages: 1... 1819202122... 47
  Archived months: [feb2018]

Cannot post in this page. To post a new message, go to the first page.