General C++ Programming (Page 10)

The user will be prompted to enter the following data: Name Hours worked Hourly wage Amount of wit...
[7 replies] Last: Lastly, the function that writes the data to the file. // Write the... (by sskyler)
A default value for a user-defined type
Hi all, Please consider this snipped-code: int main() { cout << int() << endl; return 0; } ...
[15 replies] Last: > Do you, might I ask, have a linkedIn account please? No. I do not h... (by JLBorges)
by ahme7d
Please Need Help ASAP
Can Some One Pls Decode This Game it's an assignment to make a game which should have same output. ...
[5 replies] Last: Thanks (by ahme7d)
Why the final size of executable is smaller than size of the obj files
Why the final size of executable is smaller than size of the obj files?Does the linker compress th...
[2 replies] Last: it does not generally compress anything. It can re-use identical chun... (by jonnin)
by baka87
Random File IO
I just finished reading the following tutorial:
[1 reply] : It isn’t just C++ doing magic buffering — the underlying OS will a... (by Duthomhas)
i need opinion foer data structure im really stupid in this
#include<iostream> using namespace std; struct computer { char brand ; char serial_no ;...
[3 replies] Last: also tagging a variable on a class/struct is archaic and here it is al... (by jonnin)
by Chy
Epsilon Moea (Can some one teach me out with the code here, there are a lot of errors after compiling)
#include <iostream.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <time.h>...
[5 replies] Last: 1) Please use code tags when posting code, to make it readable: http... (by MikeyBoy)
Two pointers pointing to same memory via class copy constructor. How to detect when one deletes the object? (1,2)
I have a custom C++ class Person that defines a few functions and data members. In my main app, I ha...
[26 replies] Last: [quote=RickBlacker]why it is a more modern C++ app written today would... (by Cubbi)
by b975
What is the true form of Templated Class Function return type(another template class)
What is the declaration of the template class's function return type which is another template class...
[2 replies] Last: Thank you peter87 (by b975)
Starting a New Project. Need Guidance.
I'm going to start an ambitious project. The goal is to be able to store any number of your cryptocu...
[1 reply] : I'm not sure on how to go about this You could start by being more s... (by kbw)
B+ tree removal
Hi everyone, I have posted my original question on stack overflow. Please take a look at it and if y...
[3 replies] Last: So do you have problems with the algorithm? It is less complicated tha... (by coder777)
gets for char array does not work
Hello! My project requires defining an array of char and make the user enter them (by gets command),...
[6 replies] Last: > The compiler pops up error C3861 'gets': identifier not found and E0... (by JLBorges)
How To Keep a C++ Program Running 24/7 On a VPS
I have a VPS on using Ubuntu and I was wondering how I can keep a program running 2...
[2 replies] Last: That solved it. Good stuff. (by HandsomeJohn)
by Jh01
Need help- Random Number Generator
Guys and gals I need help with this program. I've done alot of research trying to figure out the err...
[1 reply] : You need to look at this int number1 = string num1; (by SamuelAdams)
Asymptotic Notation
I have somethings I need clarification on when it comes to asymptotic notation. Correct me if I'm wr...
[7 replies] Last: Choice of O,Θ,Ω Remember that if O = Ω, then you can use Θ. T... (by Duthomhas)
Help about encode and decode text
Basically, i need a code to encode and decode a text combined only by capital letters and blank spac...
[2 replies] Last: @pzycloN3 Do you have another user name? You see, your code is EXACTL... (by lastchance)
Recursive nested instantiations don't make sense to me
Hi, From an interesting article regarding C++ as a Turing Machine, I have found some code that I ...
[2 replies] Last: Yes. There is no requirement here that K17<Depth,A,B> must be a com... (by JLBorges)
Code to move the character words with arrow key
I'm new to c++ and I'm currently studying IT programming with c language. I have tried to find all i...
[no replies]
encoding/decoding arrays
I'm working on a program in Visual Studio that encodes and decodes a txt file of user names, passwor...
[1 reply] : If you show us the code we might be able to help. (by Thomas1965)
Please help with my project
Please help C++ only It is suggested to use functions to comply with program modularization. Part ...
[3 replies] Last: Please help Your lack of specificity isn't going to get you anywhere... (by cire)
Pages: 1... 89101112... 19
  Archived months: [nov2017]

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