Beginners - December 2015 (Page 23)

Need help
 
Hi,guys! I am working on my project but when I run it, it does not follow my instruction, can you help me to check what is wrong with my code please? It is not...
[2 replies] Last: As AbstractionAnon stated, the variable names are not descriptive and ... (by mpark4656)
by asl1
Questions
 
total beginner here. What does the c in c++ mean? What do the pluses mean? I thought only 1 was appropriate? Also, why not 3?
[1 reply] : https://en.wikipedia.org/wiki/C%2B%2B#Etymology (by tallyman)
Function to return pointer to multi-dimensional array
 
Long story short i'm trying to write a program that solves matrix multiplication recursively. As part of this I want a function that spawns off mini arrays. ...
[9 replies] Last: @niko79542 You just have to be careful with allocation and deletion. ... (by JayhawkZombie)
Private member functions in separate file?
 
I have a class with some standard public functions. However, there will be a huge number of private functions for this class. Is there anyway I can put these...
[2 replies] Last: That's great - thanks. (by rozick1)
problem with gets and EOF
 
Hi guys, i'm trying to make a simple C program, but i have problems with EOF! i need to get at most 200 information of students including firstName, lastName ...
[4 replies] Last: I'm kind of embarrassed to post this as I don't normally write in C, a... (by Chervil)
case flip with given letter separater
 
so im supposed to be writing a program is able to flip upper case and lower cases based on a given separator letter. The prototype is string flipCases(...
[1 reply] : also the last line was my attempt to add the prototype given in the as... (by Carrera4212)
Cant call function
 
I'm trying to call this function but it wont and I'm not sure how to get this to call. thank you in advance #include <iostream> #include <iomanip> #i...
[17 replies] Last: oh okay ill do that then. thank you! (by suddlemercury)
Document for C# you think is best
 
( My English is not good , please help me :) ) I have a lot of "document" C #, but I am really confused on what's best for the beginner, I have selected some o...
[4 replies] Last: It's not that moving from C++ to C# is "hard" (but it really depends o... (by YFGHNG)
Provide 2 Cents for A Simple Program
 
I wrote a simple program to find individual digits of a given number and also find the sum of all digits. For example, if user input is 1234 It is supposed to ...
[3 replies] Last: Thank you both for the comments. @booradley60 Using std::vector is d... (by mpark4656)
Max and min in a string
 
My code runs but when it outputs the max it gives me 54 and the min is -52 which is not right. #include <iostream> #include <cstring> using namespace st...
[6 replies] Last: Ok and this will fix my max and min problem. (by Buddah Illfigure)
finding the smallest number in a linked list
 
hello i am trying to find the smallest number of alinked list and put it in the beginning of the list i tried this code but no thing happens any suggestions...
[2 replies] Last: you aren't traversing the list while (temp->next != NULL) { if (temp... (by alex067)
Need to use Arrays & Functions
 
I'm supposed to be able to create two arrays and a text file, then store the 20 numbers(grades) into one array and transfer that to the second array of which wi...
[5 replies] Last: Presuming that I edited my program the way you advised, what would yo... (by kbw)
by srah
Random numbers
 
I have been working on this assigment for a while now, but I just can't find the solution to this. Here is my assigment: Create a list of random numbers; gen...
[2 replies] Last: 1) how do you generate numbers between 1-10? *hint its rand().... some... (by alex067)
Weird bug in my program?
 
This is a program to find a happy number but it's not entirely working. For instance, if you put in 5555/86, it will work. However when you put in 32 it should ...
[1 reply] : Have you tried stepping through it with a debugger, so that you can se... (by MikeyBoy)
OOP class related questions
 
Hello, I have a few, simple questions. Down is a code for a programm which lets user input three lines, all of them allowing to unput three variables a,b,c, gi...
[2 replies] Last: Thank You. And if I define class without struct data type, like this:... (by MatthewThunder)
inconsistency in methods
 
EDIT: I'm retarded NWM First of all sorry for all the Swedish variables they were name specified for the assignment(doing a course to learn programming) anywa...
[1 reply] : I went to bed and noticed I'm returning false each time the name I'm l... (by LuckyXII)
Project Remake!
 
How will I fix the arrangement of numbers stored in an array? #include <iostream> #include <limits> using namespace std; int limit=0, c, i, shift, order, sum...
[2 replies] Last: Line 6: How many ints do you think are being allocated here? Hint: ... (by AbstractionAnon)
Problem In Install OpenCv In visual Studio 2013
 
Hi . I Have Many Problem In Install Opencv In Visual Studio 2013 . I Have Got Project In Monday To My Teacher But I Have Problem . Pleas Help Me Pleas 1 -...
[no replies]
Problem with My Reverse Integer Program
 
I am new to cplusplus.com and C++ programming. I created this simple program to reverse an integer. For example, if user types 1234, then the output is su...
[12 replies] Last: I wish that reported button said who by :) wow, i wasn't expecting ro... (by Jaybob66)
I finished to create Hello world and now i want to create some atleast app.so how can i start?
 
I want to make some music app.but how can i do it ?? #include <iostream> using namespace std; int main () { cout <<"Hello world"; }
[1 reply] : Decide what the program is meant to do with this "music" of which you ... (by Moschops)
December 2015 Pages: 1... 2122232425... 43
  Archived months: [nov2015] [jan2016]

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