Beginners - January 2018 (Page 5)

Creating Prime Factorization Class
 
I'm trying to add the numbers that are both factors and prime into a list, but I keep getting an err...
[no replies]
Dynamic allocation in function not accessible outside
 
I need multiple multi-dimensional arrays to be dynamically allocated in a function. The required siz...
[3 replies] Last: > would you mind explaining why the first option isn't exception safe ... (by JLBorges)
Problem with function
 
Dear all, I did a small program on Linux to monitor the temperature of my processor. The program...
[6 replies] Last: Thank you for your kind reply and useful informations. Best regards, (by cherault)
homework
 
I have homework but i dont now how do it please help me The task is to sort a given sequence of n...
[2 replies] Last: Its a little big but 2M will fit... you will have to convert strings ... (by jonnin)
Fullscreen
 
I am making a windows application. I used a generic template. Now i know where and how to change wid...
[5 replies] Last: Sadly, we are not interested in programming your application for you. ... (by Duthomhas)
Pancakes program
 
Hello, my name is Justin and i have just started coding two weeks ago. I was writing a program, that...
[2 replies] Last: Hello JustinPlusPlus, Welcome to the forum. Since you are just getti... (by Handy Andy)
Printing Duplicate Lines
 
I have 50 lines of the grade results. All of them are in an output file successfully, except in the ...
[2 replies] Last: I found the problem. I had one extra line in my inputfile. (by leewilliam236)
Switch statement infinite loop validation bug
 
I have written similar code before and I can not figure out what is wrong this time. All variables ...
[4 replies] Last: I had tried adding the cin.clear() line before and thought that was... (by kilrothy)
Issues with if else statement
 
I am having issues with the code I am currently writing. I am trying to get and if else statement to...
[8 replies] Last: You don't need to use another variable to set the integer. // Examp... (by Hengry)
What Is a Good Book for A Beginner Learning C++?
 
Hello! I started learning C++ about one month ago and now I can make basic i/o programs, but since...
[2 replies] Last: Hey thanks a lot, I really appreciate the suggestions! I will check t... (by Kevin211)
Searching An Array In A Function
 
Hello! [Note: This is a homework assignment. Just guidance on where my code is flawed and/or tho...
[3 replies] Last: Thank you both so much! I implemented some of the steps you suggested ... (by mykajean06)
by masony
do while loop and arrays...
 
I'm trying to solve this question. Write a program based on the requirements given below using c++ ...
[3 replies] Last: OK, thanks a lot both of you (by masony)
Super Easy, but alas I am clueless
 
So for this project I have to change all the characters in a picture we drew. Well rather the progra...
[5 replies] Last: Well I was leaving a little of it for you to do... try it... roughly.... (by jonnin)
please help me fix and finish off my assignment
 
Question: An Internet service provider has three different subscription packages for its customers. ...
[5 replies] Last: To give you an idea. #include <iostream> #include <string> int dis... (by chicofeo)
by Ephan
C++: Numbering lines in a for loop
 
Hi everyone, I have a question about numbering lines in a for loop. To demonstrate what I mean, ...
[2 replies] Last: oh man... i couldn't have guessed its this straight forwards.. Thank y... (by Ephan)
Working with For Loops
 
I am trying to write code that uses a for loop, starting with user input, that will each manipulatio...
[6 replies] Last: for (init; test; increment) body; is almost exactly the same as:... (by dhayden)
C++ Cards Project
 
I'm trying completing a book project: "Write a program that simulates a deck of 52 playing cards. ...
[16 replies] Last: I still think you're going to get penalized for not following the inst... (by dhayden)
not fast enough
 
So i have to write a programm that reads integers and if a) the number of positive integers is the...
[11 replies] Last: well it worked with only one queue and a few other changes :P. thanks ... (by lelekos)
txt file (i'm in emergency)
 
hi I wanna make a text file in my program and I want to insert 2 names and 2 numbers to it but I hav...
[2 replies] Last: Hengry is correct, here's a more concrete example. ofstream myfile... (by wizebin)
Problem with classes
 
what is a class?
[12 replies] Last: The 10 cent answer is that a class is a user defined type, much like '... (by jonnin)
January 2018 Pages: 1... 34567... 22
  Archived months: [dec2017] [feb2018]

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