General C++ Programming (Page 53)

List of functions that can create a Unique ID
I'm working on a list of functions that can help create a unique ID for a computer Here's what i ha...
[1 reply] : UuidCreate(): (by coder777)
Replace some elements in text file.
Hi everyone! I have a text file, like that: (A1* * * *A1) * (AM-MNR*AM-MNR) (V*V) (C-A1* *...
[1 reply] : can try posting what you've got so far(just the fil. But I gu... (by rjvc)
by Myna
Need ASAP help with array in C++
I need to write a lottery program that generate 5 non duplicate number between 1-20. Below is my cod...
[1 reply] : for (int i = 0; i < 5; i++); try getting rid of this semi-colon..... (by rjvc)
by toast9
binary search tree dfs
I'm doing a depth first search on a binary tree. My function always returns false no matter what I d...
[2 replies] Last: It does make sense, thank you! (by toast9)
by jaymez
Reading ints from a Text File with a 2D Array
reading in a maze into a 2D array. The first two reads will give me the dimension of the maze(ex. m ...
[3 replies] Last: @jaymez So im guessing because i didn't zero it out it couldn't acce... (by whitenite1)
Nested for loop assistance?
Having trouble creating a nested for loop for three and two dimensional arrays. Am I getting it wro...
[no replies]
Big-O help
I was wondering if someone could help me out finding the Big-O of these two functions: This funct...
[3 replies] Last: int sum(int A , int i, int n) { if (n == 1) return A ; retur... (by htirwin)
2D vector problem
cout<<"How many points are there?\n"; int number; cin>>number; vector<vector<node*> >points(n...
[3 replies] Last: Well actually you'd need to do points .push_back(newNode); Also that... (by Ganado)
by Java90
File .txt with structs
Hello!! I want to know how can I get the information of each contact, I add a contact and save in a...
[no replies]
by slovit
my program crashes upon opening but ill need more help after as im am very lost #include<iostream>...
[2 replies] Last: In the statement cout << matrix ; What is the value of i and j? ... (by Ispil)
Reverse a string
Explain this program to reverse an input string: #include<stdio.h> #include<conio.h> #include<str...
[2 replies] Last: I've got just a bit idea about them but still cant understand the prog... (by sudarshanpraz)
help with array code
Ok so i am new to c++, Please help with the following code. OK SO THIS ARE THE INSTRUCTIONS I NE...
[no replies]
Selecting the design pattern
Hi All, Is it possible to encapsulate the state machine using design pattern. State machine might c...
[2 replies] Last: (by JLBorges)
Trouble with my getFunctions in header
I'm working on assignment dealing with a class file. the constructor creates a dynamically allocated...
[4 replies] Last: Sometimes I just talk myself out of things i already knew haha. Thanks... (by Holloway22)
Error: expected delcaration before '}' token (No bracket error)
There is only one set of brackets, so I know that I did not mess up the brackets. #include <iostre...
[2 replies] Last: Thanks a ton. <3 (by Twenper10flat)
Why is my string outputting twice?
Hey guys! I'm working an an assignment for C++, and I've almost got it figured out--except for o...
[6 replies] Last: Perfect, thanks so much! (by sirlukepotter)
priority queue
I know queue but with priority queue i am really amateur. can you help me implement some functions ...
[8 replies] Last: In the heapsort function (on the wiki page) there is a value called e... (by doug4)
by Masada
Copy and Overloading constructors
I figured this is the best place for this type of issue. I don't understand how to implement these f...
[1 reply] : That's right! CandidateList(const CandidateList& other); ... (by LazaroBinda)
Casino Betting Game
I am trying to create a casino game using functions that allows the user to play any of 4 games as m...
[no replies]
[urgent]Priority Queue
I implement copy constructor for priority queue like this, is it right? PRIORITY_QUEUE<T>::PRI...
[2 replies] Last: thnks, anyone help "insert" and "heapify" (by nightmaregiba)
Pages: 1... 515253545556
  Archived months: [oct2014]

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