Beginners - November 2016 (Page 11)

by Cipota
Input File Statistics
 
I have been trying (for 3 days now) to write a code that will return the statistics of an input file...
[2 replies] Last: I reworked my code, is working now. Thank you for the direction, reall... (by Cipota)
by polklk
Using loops with classes and arrays
 
Hey, I'm currently working on a banking system project and have created 3 objects representing 3 di...
[8 replies] Last: void withdraw(Customers Cust, int AccNo) Your Customer object is pas... (by integralfx)
by mrsh
The correct way to define array
 
I need help in defining the size of array P and Q where it is from maximum number of random number.H...
[6 replies] Last: I did for display P, however,i face new problem in positioning P in MX... (by mrsh)
Interest question w/functions
 
So I have to create a program for my class. The prompt is as follows: Write a program that has 2 f...
[1 reply] : http://www.cplusplus.com/doc/tutorial/functions/ (by integralfx)
Convert a char into binary code
 
How can you convert a char into binary code using function?
[1 reply] : You could use a bitset. http://www.cplusplus.com/reference/bitset/bits... (by integralfx)
Validating user input with text file
 
Hi, I need some assistance. I have two text file, fileName.txt and voteDate.txt. I am doing somethin...
[5 replies] Last: Using c++11 features ... file1 is a list of names. file2 is the file ... (by gunnerfunner)
Inverting a string with ANSI C & Pointers
 
Swap case) Write a function that inverts a string by changing all uppercase letters to lowercase and...
[11 replies] Last: @JLBorges Your solution is far from complex. (by Unkana)
Weird function call issue
 
I've been trying to get back into learning c++ again. I'm having trouble with this. When I run this,...
[4 replies] Last: Thank you both for the help! Cin.ignore () worked. Thank you! (by TimmyFangs)
How is C++ used and integrated in systems? Example inside.
 
Good Evening! Very new to C/C++, not so much programming. I come from a WebDev background, not a ...
[5 replies] Last: This has something to do with the hardware. Let's say, a CPU has many... (by liuyang)
help with arrays
 
I am having trouble understanding arrays. What I need help with is Create an array of type double th...
[3 replies] Last: so i wouldn't need to include the part I listed before with numbers ... (by vegasdog)
recursive fibonacci ,stack memory illustration
 
I would like to see the progression of the algorithm as it changes values in stack memory (in order...
[3 replies] Last: thanks (by mynicks)
by jeg19
swap() by passing pointers
 
Write a swap() function that only takes pointers to two integer variables as parameters and swaps th...
[2 replies] Last: I personally prefer this solution, it is super geeky: #include <iost... (by closed account E0p9LyTq)
by polklk
for looping a matrix to check user input
 
Hey guys, I'm messing around with a tic tac toe game using c++ and i've created a function for the...
[2 replies] Last: yeah you are right, for some reason it works with: void Input() { ... (by polklk)
Looking For A Mentor
 
Hello, I'm looking for someone to help me improve my problem solving skills when faced with an assig...
[no replies]
by HotWax
string.find() problem
 
Hello! I am attempting to write a program that translates a sentence from a file to Pig Latin. Here ...
[2 replies] Last: Okay. I understand now. Thank you! (by HotWax)
error: a function-definition is not allowed here before '{' token
 
Write your question here. #include <iostream> #include <windows.h> using namespace std; int main...
[6 replies] Last: There doesn't appear to be any value that it is trying to return to th... (by AbstractionAnon)
by Panto
C++ help with code
 
Hi, I need help programming this code with these specific requirements, ive done a part of it alread...
[2 replies] Last: Hello Panto, PLEASE ALWAYS USE CODE TAGS (the <> formatting button) w... (by Handy Andy)
Nested looping code
 
Need help writing a code which creates this structure. I understand how to write the loop decreasing...
[2 replies] Last: thank you!! (by wikkkkki)
so close...I think! madlib homework assignment
 
So this is a homework assignment. It's a variation of the madlib assignment most students seem to ha...
[no replies]
what is the correct output? explain your answer please
 
what is the correct output? explain your answer please #define PRODUCT(x) ( x * x ) main( ) { ...
[1 reply] : 9 49 (by skaa)
November 2016 Pages: 1... 910111213... 44
  Archived months: [oct2016] [dec2016]

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