General C++ Programming (Page 43)

create the "merge" function?
 
hi, I tried to make a generic implementation in C ++, but I don't know how to create the "merge" fun...
[7 replies] Last: that's nice Thank you my friends (by ACHRAF92)
Data Files
 
Hi guys! I would appreciate any help I can get. I'm supposed to do the following: Create a data f...
[1 reply] : You can start off by googling how data files work. You can start off b... (by TarikNeaj)
Guessing Game
 
Hi guys! I'm trying to transform a code that has no bugs or anything, but I want to add on something...
[1 reply] : You can create a boolean. Call it bool option = true; Then do wh... (by TarikNeaj)
by BasV
global variables in cpp files
 
Hi everyone, Lately, I've been using more global variables declared in .cpp files instead of addi...
[3 replies] Last: These are some good tips, thanks very much. I think I misused the word... (by BasV)
simplify function help
 
I am building a class fraction. I have it set up to take in two parameters such as fraction f1(4/10)...
[3 replies] Last: never mind I figured it out. It does work, I just had put in my origin... (by UGAman22)
Writing a simple game, can you help me to organize it
 
Trying to make a simple 2D game on sprites Look my approach, I will appreciate your advices to make ...
[4 replies] Last: Is it legit that I not use sub-classes and virtual methods, and do ev... (by toad)
by Bako
does cygwin support visual c++ programming by qt?
 
does "Cygwin" support visual c++ programming by qt?? if does can you give me an instruction or link ...
[1 reply] : No. See http://qt-project.org/faq/answer/do_you_support_using_qt_in_th... (by keskiverto)
Pig_Latin
 
// Good Morning I need help for this my project... // I didn't understand yet.. // main #inclu...
[1 reply] : Please use code tags: [co de] Your code [/co de] Read this: http://w... (by coder777)
by dkaip
regex ints capturing.
 
Hello. Assuming i have the ... 524. or 50 or another 6 and 10΄ or 3/4 or just 3 4/5 or 7 8/3% or ...
[no replies]
Radix Sort
 
I am want to code Radix Sort with buckets, It compiles and runs but is slower than QuickSort , I...
[no replies]
Comparing String Indexes within a loop.
 
I am trying to compare corresponding string indexes one at a time within a nested loop.But I keep ge...
[1 reply] : Note that one of my startWord string changes by one letter. Trying to ... (by amikecallies)
by toast9
Snake Game pieces following head problem free movement(no grid)
 
Hey, I'm trying to make a snake game with free movement. I've got the head of the snake moving about...
[2 replies] Last: Let me get this straight, there will be a queue with a location far en... (by toast9)
Output is incorrect. Help?
 
Well I'm pretty new at using structs. I get the hang of it for other programs but I can't seem to ge...
[1 reply] : What is "correct output"? What output are you getting? What output ar... (by Disch)
c++ dll storing variable
 
I have a few questions about c++ dlls. So I'm pretty sure static variables are private to the dll an...
[2 replies] Last: I figured that would be the answer... (by cmajor28)
Array Exerercise-Find top N values in array
 
Hey guys, So for a course I am taking I am have a question which asks me to do the following. Gi...
[19 replies] Last: @dhayden: I had not seen your post. I was merely commenting that most... (by kevinkjt2000)
Loop my program?
 
Hey guys, this is my second post. I am programming a simple K value calculator. What would be the m...
[3 replies] Last: Damn it, you guys have been so helpful. Thanks alot!! (by YourBroAlex)
Help with a mastermind like program
 
I am trying to design a "game" where the user picks a number between 100 and 999 and the code will t...
[no replies]
Need help with merge sort function !
 
hi, I tried to make a generic implementation in C ++, but I don't know how to create the "merge" fu...
[1 reply] : I think you need mergesort() to call a second function that does the w... (by dhayden)
Making functions of completed codes
 
I am trying to make 2 functions for 2 different codes that I had previously done. One of which is th...
[3 replies] Last: In your original code you should put the call to srand() outside the l... (by dhayden)
Odds and evens
 
I want to tally the number of odd and even numbers that i have in a file into a prototype. I already...
[8 replies] Last: well the file has this numbers 25 41 58 96 42 52 63 47 85 96 100 58 9... (by matapexxxX)
Pages: 1... 41424344
  Archived months: [feb2015]

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