• 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]
C++ and files: input operation doesn't work
Hello, see this code: int main() { fstream myfile; myfile.open("test.txt", ios::out | ios::in |...
[1 reply] : You need to do two things. After writing to the file, make sure the bu... (by Chervil)
running the program takes up space in my c dive
Hi guys, i am a student learning computer programming currently using visual studio. Everytime i ...
[5 replies] Last: i did find a Microsoft SQL Server Compact Edition but its onli 11.4mb (by firedragon1)
D&D Style Game (1,2)
I am given an assignment that I am to write a D&D Style Game using pointers and char arrays. The req...
[21 replies] Last: Hi, Character(char name , int cl, int al, int hp, int str, int dex,... (by TheIdeasMan)
by Zibux
Hi can you help me im getting 2 errors
Erors http://imgur.com/BHZEGyo Project https://failiem.lv/u/3rsybspw#_
[1 reply] : Hi, the error is pretty obvious, injectDLL is not a member of dllInjec... (by TarikNeaj)
Reverse Polish Stack Help
I have to create a Reverse Polish Stack that's managed or maintained by a linked list. I have done q...
[3 replies] Last: Hi, Have you considered having a class for the stack? It maintains t... (by TheIdeasMan)
Dynamic Array
Hey guys, I need some help here. I think most of the required code is finished, but I'm struggling t...
[3 replies] Last: arr = new int ; delete arr; Do you know what you are doing? When y... (by Thomas1965)
by Albos
How to log in using c++ ?
Guys, I need to learn how to log in to my microsoft account or maybe facebook acount through cpp. Fi...
[5 replies] Last: Sorry but I cannot understand any of this :( I was hoping of giving me... (by Albos)
copy constructor problem
int main() { Student *s1, *s2; s1 = new Student (3); s2 = new Student (*s1); s1->print()...
[3 replies] Last: Because s1 is a pointer (Student*) but the copy constructor expects a ... (by Peter87)
My new library
I have just opened myself a nice little site called mattcpp.boards.net and there i have my own custo...
[no replies]
Find the reason: why not an compilation error?
template<bool> class CompilationError; template<>class CompilationError<true> { public: templa...
[1 reply] : Your main after macro expansion: int main() { { class ERRORright{};... (by Peter87)
Keep getting error!
[2 replies] Last: than you , that was stupid mistake. (by curiousfloridian)
CRC of a message char array
i have a char array , with comma seperated tokens like ?>100,1023,255..\n whats the best way o...
[3 replies] Last: Change <iostream> to <cstdio> and change line 70 to printf("%u\n", c... (by helios)
Airplane Reservation
Help! I can't see what's wrong in my program I just put a part of my program in a function then the ...
[no replies]
Player account creation! Help please
Alright im what we call a beginner programmer. Im trying to write a program and having issues wit...
[2 replies] Last: Thx for the links ill get to reading right now. Cant wait to learn (by DestLuck)
Linker errors with Namespaces in .h and .cpp
Hi. I have a .h like this #pragma once namespace ged { namespace Data { class GStr...
[4 replies] Last: Also, one can use a namespace alias, if referring to a class from else... (by TheIdeasMan)
Vowel/Consonant counting function using cin.get();
Hi. I am attempting to write a program that counts vowels, consonants, and white spaces. i have to ...
[4 replies] Last: I tried that but i still didnt get the outcome i wanted. after i type ... (by baronrhys)
all permutations with repetition of vectors of strings.
Hi all I am trying to convert this loop that work exactly as I need on chars of strings. void Pe...
[1 reply] : output + input does not modify the object output output.push_ba... (by JLBorges)
Linked list, operator >> and << overloading.
For some reason when I overload operators << and >> in my linked, that I will be using for my invent...
[5 replies] Last: @Cire Man I'm so dumb. I didn't even notice I was taking the istream a... (by rabster)
Function Pointer assignment cannot convert types
Has anyone seen this issue? I am not sure how to correct it? Thank you! class MainClass { pr...
[2 replies] Last: Thank you so much for your help! This definitively worked!! I was ... (by alex94102)
Pages: 123... 29
  Archived months: [dec2015]