General C++ Programming (Page 29)

Backtracking
 
im solving this puzzle using Backtracking kinda of a practice ,however, i dont seem to understand so...
[3 replies] Last: Doug4, I think he can actually get by with a boolean that says which b... (by dhayden)
-
 
---
[4 replies] Last: OP: going through the operator list another one worth overloading migh... (by gunnerfunner)
2 Dim Arrays
 
Hi there, I have a 2-dim array, and I want to check how many rows have the same value for a speci...
[2 replies] Last: Read the 2D array by column into a std::map <int, int> where the key i... (by gunnerfunner)
by arbwok
Function parameter questions
 
I have a question about function parameters. 1) void test(int a) 2) void test(cons...
[3 replies] Last: but 2 is not creating another object That's not entirely true. If the... (by coder777)
Help reading a file and writing out to a file
 
HI, what my program is supposed to entail is that I am supposed to read a text file, then take the w...
[1 reply] : you can read the input file word by word but check if the word ends in... (by gunnerfunner)
Counters
 
For class I must have a robot with 5 sensors on it go around a line track without going off course. ...
[1 reply] : typically you would do something like this in your control loop. old... (by jonnin)
PPP2 Chapter 11 Exercise 6
 
Exercise specifications: Write a program that replaces punctuation with whitespace. Consider . (d...
[16 replies] Last: @JLBorges: Thanks. Well, that seemed to work on the Shell here, but m... (by DragonOsman)
Question about the linker
 
hi everyone, i'm currently using codeblocks as IDE, what i'd like to know is how does the linker ...
[1 reply] : [quote=man]-l library Search the library named library when linking... (by ne555)
Constructor (initializer_list)
 
hello this is my first post and i hope you can help me :) at university we wrote a class simular t...
[4 replies] Last: thank you so much can now start to worry how i manage my homework ( ... (by enterei)
How to do seperate declarartion and definition of member variables, static member variables and static functions.
 
Hi ppl :), How can we declare and define static class data members separately in .h and respectiv...
[5 replies] Last: Is there a we do not need to include animal.h, cat.h, dog.h in the an... (by doug4)
How this code works
 
#include <iostream> using namespace std; class Test { public: Test() { cout << "Hello ...
[4 replies] Last: The constructor of the class will be called when the object is created... (by coder777)
Is this possible to preform with c++?
 
Basically Im taking a data structures class, and we're only 3 weeks in. I am more seasoned than I am...
[1 reply] : whether or not its even possible to do what he wants using c++ yes,... (by gunnerfunner)
Passing actual variables to a function
 
I discovered the windows thread function recently and I saw that it can take actual variables and tr...
[8 replies] Last: You can create a struct/class to store your variables and pass that to... (by integralfx)
not able to insert pointer into map<char,trnode*>
 
#include <map> #include <cstring> #include <cstdlib> #include <iostream> using namespace std...
[1 reply] : The problem is this: temp1 = (trnode*)malloc(sizeof(trnode)); You ... (by coder777)
Any way to create an ifstream within an ifstream?
 
Hi! I've been tinkering around with .GRP files from back in the day. GRP files store content in them...
[3 replies] Last: I keep hearing about mmap, though I never get around to looking deeper... (by newbieg)
by iiiiii
Implementation of Hashing
 
Need help in writing the code. I'm posting the Lab description and code I've done so far. Purpos...
[1 reply] : What does 'not running properly' mean? You will read beyond the the e... (by coder777)
by iiiiii
Hashing program showing (lldb) in Xcode
 
Hi everyone, I'm working on c++ code for implementing the hashing but when I run the code it is show...
[1 reply] : Maybe this might help: http://stackoverflow.com/questions/17242760/xc... (by coder777)
Can anyone translate this C code to C++? Code for Program that performs add, edit, delete, display and search date from file.
 
#include <stdio.h> #include <conio.h> struct biodata{ int recno,age; char name ,...
[1 reply] : Can anyone translate this C code to C++? Code for Program that perfor... (by Mantorr22)
by iiiiii
hashing
 
Hi everyone, I need some help in homework lab Purpose: Use Hashing Techniques Create a ADT to ...
[1 reply] : What is the question you had? "Help" is a little vague as to what yo... (by jonnin)
How to open .exe or .cpp programs from a main .cpp program?
 
Alright, so I know many people have asked this before. I am trying to make a program that will open ...
[2 replies] Last: it might work better for executables to use "start path\\programname.e... (by jonnin)
Pages: 1... 2728293031... 34
  Archived months: [feb2017]

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