• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
The application supports a table of records using class to input data in data field.
The application supports a table of records. Define a class called StoreItem, the instance of which...
[2 replies] Last: can u make one program as requirement below. Please. supports a table... (by secret srvice)
supports a table of records.use a vector or a dynamic array to implement a table,
supports a table of records. Define a class called StoreItem, the instance of which is a record.The ...
[no replies]
Gpa Analyzer need to add grade values in very much a beginner
Hello i am trying to add in the range of the Grades like A = 90-100 B= 80-89 etc. Sorry for the ques...
[1 reply] : #include <iostream> struct Grades { static Grades get_id_and_sco... (by JLBorges)
How to create processes and use them with fork() and pipe()
I am trying to figure out how to use fork() to create a process and then pipe() to communicate betwe...
[1 reply] : You are correct that fork() makes a new copy of the current process. ... (by dhayden)
by d0253
Read from txt file to array
I have two files one with states, and one with numbers. First file: Alaska Alabama New York ...
[1 reply] : The >> reads only one word. For more. you must getline: http://www.c... (by keskiverto)
How to download any file from internet only using C++ Standard library (no third party library)?
I know it may be tough to do so. But I was looking for if any guide exists to do that. May be I have...
[3 replies] Last: An alternative on Windows is URLDownloadToFile. (by Thomas1965)
Functions, File input/output
Hi guys, I have to write a program that does the following: Write a program that reads data from...
[3 replies] Last: Yes (by Thomas1965)
by colt
Massive memory leaks leads to "corrupted double-linked list:"
Hello, I recently added some code that creates a dynamically allocated, bi-dimensional array, fills ...
[3 replies] Last: Why plain arrays at all? The std::vector would manage its memory with... (by colt)
by AM111
C++ Exercise
Bom dia, Tenho que criar um programa em C++ que leia dois ficheiro txt. Um deles denominado Enco...
[1 reply] : Please note that this is not a homework site. We won't do your homewor... (by keskiverto)
Public or Private in this case?
Let's suppose I have created a GUI calculator, I have these variables Private one; Private two; ...
[9 replies] Last: Well, thanks for your explanation. (by omer123)
by Gagavn
How to input and output without Cin and Cout - pleas help me !!
Hi guy i am new nember and nice to meet verry body in forum I have a question: How to Input and Ou...
[6 replies] Last: For output, write busy loops with varying iterations along with sleeps... (by Ganado)
by mbozzi
How do I use string_view where a C-string is expected?
I've written a function foo() whose purpose is to call something that requires a C-string: void ...
[6 replies] Last: Just wanted to post an update: I've been using something like the c_... (by mbozzi)
Event System Implementation Issues
Hey everybody, lately I've been working with game engines, trying to understand how they work, start...
[1 reply] : According to the documentation I found on line, you made a small mista... (by doug4)
I/O files, functions,error checking
Hi guys, I have to write a program that does the following: Write a program that reads data from...
[2 replies] Last: All I have right now is what I posted. I only have the main.cpp file s... (by explicit)
how to declare and initialize variables off main.cpp for use on main.cpp
I have 30+ variables grouped together in my main.cpp that I would like to move the declaration and i...
[10 replies] Last: Thank you, I have a lot to study. It might be that the answer is to ke... (by technologist)
by deanF
Help Printing templated AVL tree
i have no idea as to how i would write a print function for this program and i was hoping somebody c...
[1 reply] : You need to visit every node and output it. Recursion can be applied. ... (by Repeater)
by d1456
one-dimensional array
Create a one-dimensional array to read 20 alphabetical letters (your program should be able to detec...
[8 replies] Last: if (isalpha(letter )==0); is wrong. it should be if (isalpha(lette... (by Repeater)
Error in ./a.out: free() issue
Hey, I'm getting an error when deleting a dynamic array in the deconstructor of an object. This is ...
[1 reply] : movie m(name,classification,critic_rating); movies =&m; } // <-- m ... (by Peter87)
trace driven memory simulator
a trace driven memory simulator and run a set of experiments using simulator Simulator should acc...
[5 replies] Last: I assume this is some kind of school assignment. If you have no idea w... (by helios)
Pages: 123... 15
  Archived months: [jul2018]