General C++ Programming (Page 2)

Need help understanding
My professor has given us this assignment and her solutions are quite confusing. Please if you can...
[1 reply] : Assignment: Write a program to provide a report of student grades. Ea... (by jonnin)
About extracting characters from and int, bitwise operators.
We went over bitwise operators very briefly in class, and it was mentioned that extract characters f...
[3 replies] Last: *corrected error* I have recognized now that my explanation for set... (by nuderobmonkey)
by vibhu
getting segmentation fault error in c++
getting segmentation fault in C++ code I am new to c++, concising the code,my c++ code is giving m...
[5 replies] Last: hi coder777 , else portion is not a problem since compiler is executin... (by vibhu)
Creation of an Object Model using UML Conventions
I have the problem statement to make an Object Model for. Problem Statement: Every vehicle has a...
[4 replies] Last: You show it with the multiplicity notation. Brother, really thanks... (by khaw235)
Need help for edit text file
Hi, I am learning C++. I need some help to solve this problem. In my text file, I have Q1:aa dd Q...
[1 reply] : There is a replace function in std::string (by bonho)
spyxx_amd64.exe missing !!
Hi all, I have installed Visual Studio Community 2017 and I do have Spy++ under the Tools Menu ...
[9 replies] Last: I am afraid you are right. Another option would be Window Detective. ... (by Thomas1965)
Extrat SHELLCODE from my dll ?
Hi all, I have written a 64bit C++ dll in Visual Studio Community 2017 and I am using it successful...
[no replies]
Trie Search Problem
I'm trying to implement a trie that can print out the frequency of words with a given prefix (see au...
[1 reply] : Its difficult to go over 240+ lines of code to answer your query re a ... (by gunnerfunner)
creating vector or array with different names in a loop
Hi I'm trying to loop this for(int i = 0; i <3; i++){ string a = "desc"; char counter1...
[2 replies] Last: One way to have looping variable dependent vector identifiers might be... (by gunnerfunner)
Not compiling: saying unreferenced local variable!
I have two files, one cpp and one header. I have to report the circle's area, diameter, and circumfe...
[6 replies] Last: Line 21 is a function declaration, not a function invocation. void ... (by mbozzi)
by Bliink
Lucky numbers
Given an input 'n' from the user, you need to find all lucky numbers from 1 to n. Lucky numbers are...
[4 replies] Last: I managed to reach it in another solution using recursion, I hope it h... (by Bliink)
by Bliink
Logical misunderstanding
Little Petya very much likes gifts. Recently he has received a new laptop as a New Year gift from h...
[no replies]
Lexical Analysis Question:
For my lexical analysis program (which reads in one char at a time from file with getChar) I have a ...
[1 reply] : You do.'t seem to have a comment state. (by kbw)
Reading in file to an array thats part of a class
Hello all, I need to read in a file with floats into an array that is initialized as part of a c...
[2 replies] Last: Thank you for your help! (by VicariousGeorge)
by Fey
Help to start a display function
Hi guys , so I started a program where every answer or assigned value is returned to v ( return v) ....
[no replies]
declspec making problem with class constructor
In my game engine, before I updated my code I had no problem and my classes looked like this: #if...
[5 replies] Last: You have a struct in a DLL that has public member objects. The compil... (by kbw)
Stopping infinite loop
Hi there. New to the site and to programming in general. I'm currently a student and we are doing a ...
[2 replies] Last: I'll try those changes right now. Thank you so very much! (by clove311)
Trie Implementation Woes
I'm trying to implement a trie that can print out the frequency of words with a given prefix. Here i...
[2 replies] Last: I was able to find the error. It had to deal with me not initializing ... (by alkorith)
by F95
Urgent! Need help assigning a hash value to text in a hashtable
I need help writing a program in Visual Studio that accesses a .txt file, which has to be read from ...
[9 replies] Last: It's really important to know and understand how char* works as it use... (by benhart)
I need some help. How to make a check invalid month, days and leap year.
#include <iostream> using namespace std; const int JANUARY = 1; const int FEBRUARY = 2; ...
[7 replies] Last: Just use an enum to ensure right uses of months. It is recommended to ... (by benhart)
Pages: 1234... 32
  Archived months: [feb2017]

Cannot post in this page. To post a new message, go to the first page.