Beginners - May 2020 (Page 11)

Search a file and output specific lines
 
Hello! So I am making a contact manager and I am using a text file to hold some information on the c...
[7 replies] Last: Got everything working, thanks so much, everyone! (by theforgottenone4)
Shell sort
 
Good afternoon. Help me to make some things. In the output should be the time that the sorting took ...
[6 replies] Last: just put the gap in an array and get one of the good ones from the wik... (by jonnin)
Passing a pointer of the wrong type
 
Hi, I'm using some code that I found in an article by Vikash Agarwal on writing an ODBC driver. I...
[6 replies] Last: Yes, my code has everything to do with that Microsoft SQLDriverConnect... (by Auntiejack56)
Practice Program Question.
 
Hello all, Currently I am working out of "Problem Solving with C++ Tenth Edition" to prepare for ...
[5 replies] Last: Hey thanks everyone for the advice, will implement these ideas. Apprec... (by noblemin)
Number of sort operations
 
Hi! I need help with displaying the number of sort operations I will be very grateful if you h...
[7 replies] Last: You can count various things: comparisons, swaps, iterations. #incl... (by dutch)
Struct inside a Class
 
I am trying to use a public class method to change or set the variables inside of a struct inside of...
[12 replies] Last: You don't need to define the struct within the class: struct myStruct... (by deleted account xyzzy)
RungeKutta class C++
 
I have an assigment in uni to write a program, that integrates multiple differential equations. d/dx...
[9 replies] Last: Thank you very much. You were right, base class lacked pointer to x. A... (by audrius69)
Function called in cout
 
I ran this program in two different systems using Mingw compiler and Sublime Text 3 for writing code...
[4 replies] Last: The compiler is same Such things can change between different versio... (by dutch)
Create a dynamic array with duplicates [stuck on a problem]
 
Hello all, this is a tough request but I am stuck on a question I found online and I really can't t...
[8 replies] Last: Lets take half of that task: output = array ; output = array ; ou... (by keskiverto)
make a name unique
 
Hi I need a way of making a name unique (i.e. making it a unique ID) but still retaining some featu...
[2 replies] Last: As Salem says, some kind of incrementing integer is a pretty common wa... (by Repeater)
C++ calculator that loops answers
 
I am trying to code a calculator that uses the result of the previous calculation as one of the inpu...
[2 replies] Last: "=" = "becomes" "==" = equals (by lastchance)
I need help with a code for LOOPS!
 
So we are supposed to Write a program that asks for two positive integers from the user and the pr...
[9 replies] Last: Thank you Sean and Andy. (by aimen112)
how to write something in a array of characters in an array of stuct
 
i have problem, how to write in an array of character in an array of struct? struct student...
[1 reply] : That’s because it’s catching the '\n' that the normal cin never sw... (by highwayman)
File I/O -> getline() Returns Empty
 
I've been pulling my hair out trying to figure this out. I've done file I/O before and nothing like ...
[2 replies] Last: Got it! I removed std::ios_base::app, and everything is working! Tha... (by capnation)
hard stuck (1,2)
 
hey there`s an assignments that they gave us but its more math than coding : Write a program that ...
[34 replies] Last: yeah , u were right i missed a part , thank you so much for taking the... (by John3682)
Inheritance and Cleaning Up Code
 
I CANNOT FIND THE "DELETE THREAD" OPTION. IDK WHY, BUT (AS YOU CAN SEE) I POSTED MY ENTIRE CODE. MUC...
[12 replies] Last: I now see why you posted a second time: you had no color before and no... (by highwayman)
Array String Void IF FOR, I am stuck with COVID-19 program calculator
 
Hello, I really need help, with COVID-19 program. I have to use Array String Void For and IF. I wou...
[6 replies] Last: #include <iostream> #include <fstream> #include <sstream> #include <s... (by lastchance)
Need help hiding 0th Rolls on a DND "simulator."
 
Hey there! I need help to understand why my code is giving me 0th and last "rolls." If you run ...
[2 replies] Last: Oh my. I don't know how I missed that. Thank you so much, dutch! (by cstricko)
Saving in binary files
 
I have a program that contains 3 linked lists ex: class nodeA { int data1; double dat...
[6 replies] Last: the problem is pointers. if you accidentally send a pointer to the b... (by jonnin)
Code not continuing after void while function
 
Hi, I'm having trouble as to why my code continues after my while loop when the loop is placed in m...
[6 replies] Last: You are getting data input in your function, you need to return that ... (by Phanboy)
May 2020 Pages: 1... 910111213... 17
  Archived months: [apr2020] [jun2020]

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