General C++ Programming (Page 30)

Template Class problems.
Hello everyone! I've practicing for an exam today and I have encountered a few problems that I co...
[6 replies] Last: Nevermind. I have fixed 1) and 2) and I'm working on 5), I think it wi... (by klimentije33)
Cannot execute command in my own shell
while(true){ cout<<"Shell$ "; getline(cin,cmd); strcpy(argv , cmd...
[17 replies] Last: how about this string prog="./hello"; execlp(prog, prog, (char*)NULL... (by csstudent123)
deleting unprocessed chars on stdin
Using Visual C++, I created this this function: int GetNum() { char buffer ; size_t size_rea...
[3 replies] Last: OK, none of your responses enabled me to get _cgets_s to work. Thanks... (by dschwart)
Can someone help me completely understand the concept behind linked lists?
I already went to the tutorials and i have tried using google but i still don't completely understan...
[4 replies] Last: By the way: it's a singly linked list. Doubly linked lists are more c... (by coder777)
c++ s/w
I want to make a graphics player for children. But I am unable to visualize all the part of the s/...
[no replies]
Clear area in Mine Sweeper
I'm working on improving a 'Mine Sweeper' program I wrote, but am having trouble clearing the whole ...
[2 replies] Last: @cire Thanks. This will make my 'Mine sweeper' game a lot easier to p... (by whitenite1)
Generalizing a factory class
[no replies]
Two Different Values at one Memory Address.
Ok so I've decided to fiddle around and learn about the memory addresses. So I wrote a very simple ...
[19 replies] Last: I'm on Windows so each time I run the program, the memory address is ... (by Duoas)
Hello, Getting error when trying to compile my set bits program: #include <stdio.h> #define ma...
[2 replies] Last: Line 27: You have unbalanced parenthesis. (by AbstractionAnon)
Pls explain how this working??
#include<iostream.h> #include<conio.h> #include<string.h> class strings { char s ; public: ...
[6 replies] Last: can you post using code tags please? And also take note of what new sa... (by mutexe)
School Assignment
First to begin. I am not a professional programmer by any swing of any imagination. I hate computers...
[12 replies] Last: @rcl4: I don't blame you: I was being goofy. I meant to lighten-up th... (by koothkeeper)
by anhnha
Multi-threading functions
I am planing to learn and write some functions using multi-threading technique in C++. Is there any ...
[1 reply] : cin/cout are not functions. They are global variables. If variables ar... (by coder777)
by LauraM
Priority queue using linked list and heap
Hi! I have to implement the following problem using as ADT a priority queue and two DS: linked list...
[no replies]
Reading from a text file and printing the names in alphabetical order using vectors
Hi, i'm having a problem on how to print the names in alphabetical orders using the vector. here's t...
[3 replies] Last: Don't post the entire code, post the relevant code and use the code-ta... (by Gamer2015)
by AmitH
Blocking editing program's files
Hi, I have a software which creates and edits some text files and binary files. Is there any opt...
[2 replies] Last: Thanks. About the encryption and the checksum, I've never used it wit... (by AmitH)
Pages: 1... 282930
  Archived months: [may2015]

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