Beginners (Page 59)

Need help identifying errors please
 
I am having some trouble on this, can you you help please? Identify 5 errors, syntax or logic, ...
[2 replies] Last: Number 7 array can only have 3 characters not 5. 8 because array was n... (by Fr0zen1)
Simple Calculator Not Working
 
I'm new to c++ and I don't know very much. I was trying to make a simple calculator but the if state...
[4 replies] Last: Just a thought, I don't know if the assignment requires they type in ... (by wildblue)
by leo255
Need some help with basic dynamic mem. allocation
 
Hi all, Can't get more basic than this. I'm getting an out of scope error in my copy function, wh...
[1 reply] : Edit: found the answer. Shouldn't have declared int * newArr inside of... (by leo255)
Structures and dynamic allocation
 
I'm currently stuck on a homework problem. The questions asks "Assuming you have created the Speaker...
[9 replies] Last: Ok i have figured it out. Thanks for helping. (by skimmer001)
Reading Data from a File
 
Hi all! I'm kind of stuck here. I'm creating a program that accepts a name or number as input from t...
[8 replies] Last: Of course you can ignore the operator overloading, but you will have t... (by megatron 0)
2D array with linked lists.
 
I need to create a 2d array with linked lists. I need to use the command line input to do the follow...
[no replies]
Random Number guessing program
 
Can someone check this program for me? It's supposed to create a random number with a max given by ...
[12 replies] Last: Okay, I think I got. Can someone check for me? #include <iostream> #... (by and kand 97)
by Horry
Logical gates calculator
 
Hello guys, This is my first post so sorry if I misspell anything. I need to make a program which ...
[no replies]
Valgrind is complaing about freed memory
 
hello, I got a clean bill of health from valgrind before I added the check function. Now valgrind is...
[no replies]
Dynamic 2D Array
 
Hello, I have a dynamic 2D array that I'm decreasing size by one by a function. It may not always b...
[2 replies] Last: And for the rows I could just switch around the variable in the array,... (by danghotties)
Pass the calculator!
 
I have to do a game using a calculator and the first step is to choose who starts, the player or the...
[1 reply] : Before worrying about what to do at line 35, you need to get rid of yo... (by AbstractionAnon)
Finding the lead horse.
 
When I the code comes up to decide if the current horse is in the lead, it will choose that horse re...
[1 reply] : Line 203: You've determined the winner and turned the racing flag off... (by AbstractionAnon)
to lower case
 
Having trouble with this dictionary spellchecker. I am able to hash the dictionary, and search th...
[16 replies] Last: The thing is, you output everything before line 236. Try outputting ag... (by giblit)
Time complexity (O notation)
 
If I have 3 parts of the code each part takes 1) O(n) 2) O(m) 3) O(k) n, m, k can be the sam...
[2 replies] Last: It depends on how those 3 parts relate to each other. If they execute ... (by Smac89)
by Scizor
Binary Search for Char Array?
 
Hello, I definitely know how to implement binary search when it comes to integers but I need to do i...
[3 replies] Last: Don't know what you had, so can't tell you why you got an error. Th... (by AbstractionAnon)
struct pointers to functions
 
I'm currently stuck on a homework problem. The question asks "Create your own Date struct that conta...
[5 replies] Last: Lines 40-42: you're outputting a number. Not the most user friendly, ... (by AbstractionAnon)
Appending objects
 
I have a class which consist of an vector.. I want to create a merge function which appends a obj...
[7 replies] Last: Good to know. (by shadowCODE)
by markat
Stuck on creating a separate function for bubble sort
 
Hello, I've been charged with the following task: •Write a program that: •1) Creates an array c...
[5 replies] Last: Oh you're right, that was careless reading on my part. I'll change the... (by markat)
Help with simple (I think) function
 
Hey, I'm trying to write a function that will return the value before x in a linear equation, note: ...
[4 replies] Last: I actually get 0 warnings :) But I am saying you should have had mo... (by TheIdeasMan)
How to get the index number of an element into an array?
 
I tried to use find() function but it returns the element not the position. int ar ={1,2,3,4,3...
[2 replies] Last: Yes. find returns an iterator to that position. To get the index,... (by shadowCODE)
Pages: 1... 5758596061... 110
  Archived months: [oct2014]

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