Beginners - December 2018 (Page 18)

by yat89
Reading text file into array
 
Hi everyone, I have a text file as below. Each row represent one set of solution. 10 row indicated 1...
[3 replies] Last: In my last post I gave a sequence of 4 things to do. You have done the... (by lastchance)
Linked Lists
 
I can't figure out what I am doing wrong I'm following an example but I keep getting errors the o...
[1 reply] : //linkedList.cpp template<class Type> void linkedListType<Type>::pri... (by swaveysaiyan)
Questions about Polymorphism
 
I'm so confused.. : class Base{ protected: string username; string name; public...
[6 replies] Last: @ vittorioc98 In your OP, the first part of the code in the main fun... (by TheIdeasMan)
Help with homework
 
Hey, I dont know how to make this work properly. I dont know how to keep the score array and the nam...
[2 replies] Last: > Write a program that dynamically allocates an array large enough to ... (by salem c)
by JasonH
Converting a number
 
Hi everyone, this question might be a bit elementaty but I haven't done any programming in many year...
[2 replies] Last: That worked perfect, thank you very much. (by JasonH)
Exit loop using number
 
How can I exit the lopp using -1, before I had the second while loop I was able to exit the loop usi...
[1 reply] : Hello Rocketboy, the outer while loop at line 12 is an endless loop w... (by Handy Andy)
Matrix
 
Hello , I need help with a certain problem.The task is to check if a nxn matrix has a diagonal,whose...
[9 replies] Last: One set of diagonals (parallel to the main diagonal) are the lines i-j... (by lastchance)
Creating array of pointers to poin to diffrent objects
 
Hi guys.I have to make an array of 2018 pointers that points to objects type Number of which 1009 po...
[3 replies] Last: Thank you for your replies.I have changed values from double to int.My... (by Zivojin)
by detro
open application windows.h
 
I need to create a button on my interface on C++ and when someone click on this, open another progra...
[2 replies] Last: Oh, this helped me soooooo much Thanks bro!!! If I have another questi... (by detro)
by az1234
Class name does not recognize a type
 
Hi, I've been working on a program and I've hit an error. I have two 2 classes(in 2 separate h files...
[7 replies] Last: So I found out the issue, apparently while I had included "cars.h" in ... (by az1234)
I ran into a weird issue causes infinite loop
 
Hi I'm pretty new to programming I'm taking a c++ curse at university. will now i'm working on my f...
[2 replies] Last: thank you for your input i'll try to do it. and yes i meant fin thanks... (by azezo2211)
CORRECT THIS
 
void initArray(int arr , int arrSize){ for(int x=0;x<arrSize;x++){ arr = 0; } } /...
[1 reply] : Why are you yelling commands at me? Is that how you talk to other stud... (by Ganado)
CRUD! CRUD! CRUD!
 
Example of CRUD in array with function please. add, edit, delete, search, display and exit
[no replies]
CRUD!
 
can u give me an example of simple crud w/ function and file handling? thanks
[1 reply] : You might want to follow this thread: http://www.cplusplus.com/forum/b... (by dhayden)
by yat89
Sorting related two arrays based on another
 
Hi. I'm new to C++ programming. I got a task on sorting. Given a text file with three column informa...
[4 replies] Last: you have some really nice data. your file already has the array index... (by jonnin)
Cannot read string types properly.
 
Hello everyone. I am having issues using my counters to count the upper case, lower case, numbers, d...
[1 reply] : I would write the for loop like this: for (i = 0; nom != '\0'; i++)... (by Thomas1965)
Help with array output
 
Hello, I'm new to coding in c++ and I need to output the sound the mammal makes through void speak w...
[1 reply] : Cat catto(name, w); m = &catto; catto is a local variable which g... (by salem c)
by owmn
Troublesome error, please help!
 
So my school assignment was this: Write a program that creates three identical arrays, list1, list2,...
[14 replies] Last: @AbstractionAnon, Thank you so much! This worked perfectly. (by owmn)
by owmn
Homework Help Please
 
I ran across some errors in this cpp program I had to write for school, and I can't figure out what ...
[3 replies] Last: I completely overlooked this issue...thank you all very much! (by owmn)
Making dll functions names (1,2)
 
I have dll file from which i need to get parameters it receive, i am thinking i would make the same ...
[20 replies] Last: you just include the library and a definition of the function and call... (by jonnin)
December 2018 Pages: 1... 1617181920... 22
  Archived months: [nov2018] [jan2019]

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