Beginners (Page 113)

Sorting via pointers
 
In our assignment, we have to make a sort function using pointers! However, I am having a strange er...
[7 replies] Last: Note that the x, y, and temp on lines 6, 7, 8 are unused and can be de... (by Zhuge)
by tripke
Loops?
 
Being very new at this, it is hard to know what to use where. I can output text and store integers f...
[18 replies] Last: ok (by cyberdude)
Returning the largest value
 
I need some help with this problem: write a program that computes the maximum of four integer values...
[2 replies] Last: You're doing great, keep studying. some clues to make it work better:... (by Marcos Modenesi)
Functions: User Chosen File, Word Count w/ missing Main Function
 
I am just starting out learning C++. I have been working on this program for several days with no su...
[14 replies] Last: So, since the return will be an integer, then I should use int as my ... (by mizztrixi333)
Beginning game classes
 
I'll get right to the point: I'm trying to make a game sort of like Dwarf Fortress, but a lot less c...
[13 replies] Last: Ah, thanks! :) (by kyranstar)
I am having issues with my greatest common denominator function in my code.
 
Ok I have been working on this for a while and little by little and with the help of you guys for on...
[1 reply] : Your GCD function is flawed. If you were to input 9/12, first it would... (by Ispil)
by Popanu
Call-By-Reference and Value Function
 
Hello, I'm having a problem solving the following to make it "correct". Any guidance is greatly appr...
[6 replies] Last: Fixed! #include <iostream> using namespace std; int fun1(int& x); ... (by Popanu)
Bitwise Query
 
I promise, this is my last question for the day! I'm trying to query bits within an element of an un...
[2 replies] Last: I did fix it: unsigned char mask = (int)1; int byte = index/BITS_P... (by TaytayB)
Dynamic Memory Management Within A Class
 
I consider myself an o.k. programmer but I've only taken intro courses (self-taught mostly), but thi...
[3 replies] Last: You are redeclaring your array in the constructor. (by IceThatJaw)
by axtyax
Allegro c++ segmentation fault!!!
 
so here is the code for the main text document (main.cpp) : #include <allegro.h> #include "map.c...
[1 reply] : Instead of trying to link the sources files directly, use a header fil... (by Daleth)
Overload operator= issue
 
BitArray& BitArray::operator= (const BitArray& a) { for(int i = 0; i < a.arraySize; i++) ...
[5 replies] Last: ne555: You are correct. Here is the fixed code: BitArray::BitArray... (by TaytayB)
Allocate array dimension
 
I need to create two classes, and inside one of the classes I must have an array of objects defined ...
[2 replies] Last: Oh..... Thanks! NOW I feel stupid. :) Always the smallest mistakes th... (by Hashimatsu)
C++ Project
 
Hi ! Could someone suggest a project for programming in c++ I need a cool one for a school project.
[2 replies] Last: thank you very much than i have to start now i have 2 weeks time (by Alban Gashi)
Dijkstra's Algorithm Assignment
 
Hey, I have an assignment due in a few hours, and I can't quite finish it up. I would appreciate if...
[6 replies] Last: I have the exact same assignment due tonight! cs315 Tuesday/Thursday w... (by EEN421)
Using Custom vector template to change existing project from using arrays to vectors
 
We're taking a pre-existing project and adding a custom made vector class template to it. Thereby go...
[4 replies] Last: template<class T> T MyVector<T>::at( unsigned n ) const { if(n < v... (by cire)
strstr function help?
 
Hello! I am making a program for which one has to made a 2D array, containing the names of jockeys, ...
[1 reply] : I changed your code a little bit though I would have implemented this ... (by kinley)
As a learner should I use an IDE? (1,2,3,4)
 
Probably the eternal question but, I wanted to take this debate out of another thread. I'm a new...
[74 replies] Last: The trolling is obvious now; the "Scientific Method" is not "trial and... (by L B)
assert causing break
 
Heres my code https://github.com/rebukeiscool/calculator The error I'm having occurs at line 136...
[7 replies] Last: Since you're using getline() you will always have the end of string ch... (by jlb)
by Maissa
is not a member
 
hello , i have this problem with my code and i cant really figure it out ! #include<iostream.h...
[3 replies] Last: #include<iostream.h> #include<string.h> #include<conio.h> class cust... (by Maissa)
Set up Login
 
My question is once the user set up and account bye doing option 2 Then I want the user to have lo...
[1 reply] : I think you would get help if it wasn't for how hard it is to read you... (by Austin J)
Pages: 1... 111112113114115... 125
  Archived months: [mar2013]

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