Beginners (Page 4)

Issue with an algorithm and returning the value
 
The issue lies within my .cpp file (not the tester or header). Basically I go to run it but it says...
[3 replies] Last: Well, what is it you expect to be returned at that point? An empty st... (by AbstractionAnon)
How to use <chrono> in order to see how much time a function took to execute
 
I have to compare the time differentiation between bubble sort, selection sort, linear search, and b...
[5 replies] Last: Ignore valid (or any) output while making performance measurements. F... (by JLBorges)
simple function assignment
 
Hello. I am new to the forum and programming in general. I have read the instructions for posting...
[9 replies] Last: I see what you mean. modifed the code again. sorry for the wrong form... (by AllramEst)
by Zorac
Allocate memory in 1GB-chunks and 1kB-chunks.
 
Hello everyone! I have a assignment where i am supposed to allocate memory in different size-able ch...
[2 replies] Last: Well i am not sure to be honest. Based on how my assignment is i assum... (by Zorac)
by Hil
Need some guidence
 
Ok so I am in need of some help i have this part of my code i am working to try to get it to where m...
[3 replies] Last: is there a way to make it so that my user can enter in any amount of ... (by AbstractionAnon)
by elle88
Instant Messenger Chat (the message portion)
 
I am working on an instant messenger chat (like facebook chat or AOL instant messenger), and am stru...
[1 reply] : You may need to take a step back and read a basic tutorial about socke... (by kevinkjt2000)
Adding 90 Days to a Date
 
So I have a program that is supposed to have a user input a date, calculate tomorrow's date, yesterd...
[16 replies] Last: Can I use my start_date object in Employee.cpp? I just don't underst... (by hookster007)
Internal error in compiler
 
Hello, I have this error: fatal error C1001: An internal error has occurred in the compiler. ...
[4 replies] Last: @Edward01 Well it shouldn't be. Although people mistakenly write them... (by tipaye)
String with two words
 
I am trying to get a string with two words 'Jesus Christ within an array. I know im meant to use Cha...
[6 replies] Last: @fun2code Thanks for pointing that out, it usually catches people out.... (by tipaye)
Reversing user input string with char array
 
Following is a code in which I am trying to reverse user input string using pointer to char. I know ...
[7 replies] Last: @OP Arrays and pointers are not the same. An array's name is automati... (by tipaye)
Extracting numbers from a string and performing calculations
 
I am writing a program which simulates a point of sale software. My program has to search for a barc...
[2 replies] Last: Yes, it works! Thanks a lot! (by techummer)
by theox
Local file
 
How to modify this code to read the grades from a local file called "mygrades.txt" #include #i...
[1 reply] : Check ifsream/ofstream libraries they responsible for reading and writ... (by Edward01)
Store contents of text file in map container and printing the contents of map
 
Hi everyone I am trying to store the elements of text file in map container. The elements of text ...
[2 replies] Last: Thanks for your reply I did not notice that. The code is working corre... (by ajlahmed)
Storing the result
 
Dear everyone, I have an assignment to count the number of students who scored 'x' marks in GQ quiz,...
[2 replies] Last: It is because I was asked by the question to do so. Thank you. (by aurimas13)
by aff
Recursive function problem
 
Hi all, I am writing a code that will print all odd indices of a string in original order, and then...
[5 replies] Last: Thanks for your comments!!! Especially that one about not using cout <... (by aff)
by Parthi
Write a program to read a list of nonnegative integers
 
Write a program to read a list of nonnegative integers and to display the largest, the smallest inte...
[2 replies] Last: In a PM received this morning... [quote=Parthi]f**k u Good luck with... (by MrHutch)
String not displayed using cout
 
I am using CodeBlocks to run this simple code but when I run it the output window generates an error...
[5 replies] Last: I am using Borland 5.5 + sp1,sp2. Is there any problem in it? (by ahsannaeem)
function to get number of times string is inputed in lop
 
Trying to create a function that prints slips for buyers for the amount of icecream bought during th...
[6 replies] Last: Thanks it worked (by silent one)
rand() Function
 
I'm working on an assignment for a beginner C++ course. We are creating a program to play "Plinko." ...
[1 reply] : #include <iostream> #include <vector> #include <cstdlib> #include <ct... (by JLBorges)
Help with goto statement
 
So I made this simple little game, but i want it to restart if you get it wrong so you can keep tryi...
[5 replies] Last: @ JLBorges Yep, I have been busted again :+) Dislike is much too st... (by TheIdeasMan)
Pages: 123456... 50
  Archived months: [mar2016]

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