Beginners (Page 59)

Replacing four letter words with 'love'
 
This is homework- I have to use C-strings and in this code I need to replace all four letter words w...
[16 replies] Last: Yep, there's no point checking unused stuff: int i = 0; int ... (by kemort)
Science fair project brute force password cracker
 
iv been trying to find out my errors but i'm confused on what i'm doing wrong. i'm using code blocks...
[2 replies] Last: iv been trying to find out my errors but i'm confused on what i'm doi... (by cire)
by jklx22
Need advice on some actual evaluations converting measurement systems
 
Now I have done the first two parts but I am stuck on the last 3 parts of the problem. Here is the ...
[12 replies] Last: Thanks great (by jklx22)
Triplet
 
From the keyboard is introduced a string of natural numbers until the value 0.The problem asks to di...
[1 reply] : Hello AndreasTm13, Post your code that you have so far so that no one... (by Handy Andy)
When I enter 4 it gives me Error.
 
When I enter 4 after I add a number to the list it gives me an error and then for some reason I hav...
[1 reply] : Hello KenTheNoobProgrammer, PLEASE ALWAYS USE CODE TAGS (the <> forma... (by Handy Andy)
C-String Sentences
 
So I have this assignment for a class where I am supposed to modify a C-String sentence, yes the one...
[4 replies] Last: However, can you give me a little more clarification about the two in... (by cire)
Linked List Sort
 
I'm trying to sort the elements of a simple linked list, but the program crashed at the sort part; ...
[3 replies] Last: Never mind, I found the bug. Thanks btw! (by Yoooooo)
Reading a string from a file and replacing it
 
This is what I have thus far. I'm leaving the input file alone and trying to replace "#N#" with a ne...
[7 replies] Last: This version seems to work (sorry, I made some little changes at the b... (by Enoizat)
pointer error
 
Hello programmers, the function below to find the first 1 of an array does not run well and has run ...
[2 replies] Last: If it's not clear, inside "firstOne()" int *ptr will be a new pointer ... (by Enoizat)
Inventory will not display or load
 
Hey there everyone! I feel like I'm almost done with this, but I can't quite figure something out. T...
[1 reply] : Here is my inventory txt file: 12112 eggs 1.99 N 56312 bacon 2.99 N 8... (by crowdiax25)
Not sure why my bool function isn't working correctly
 
Currently learning object orientated programming, This programme gets 2 test scores from 3 students ...
[1 reply] : At first glance: --> where do you declare "list"? --> what's the point... (by Enoizat)
Draw tricky triangles
 
My instructor expects my output to look like this : Enter triangle height : 5 * ** *** **...
[1 reply] : For the first of the last two, combine the loops used for the first tw... (by cire)
&& operator overloading
 
Hi, I want to know how do I overload && operator. Please help me I have an exam coming up soon. I ...
[2 replies] Last: I need the coding && overloaded operator(defination; outside the clas... (by cire)
Sorted a Linked Node
 
Need help sorting this constructor: I know the while loop should include another statement, but a...
[4 replies] Last: Although it harder to understand, the code is much easier if you use a... (by dhayden)
by SoLix
Help with files
 
The text in the file looks like this: Name name2 2 1 2 3 4 M I'm doing some sort of generic...
[5 replies] Last: ... (by Enoizat)
Position of the destructor in class ? C++
 
You don't have to read all the program. I put the code for destructor in a box which can be easily f...
[4 replies] Last: ...might make the program's member functions in public to not be able... (by Enoizat)
'Quite Good' (but not Perfect) numbers, with a timer question ...
 
Homework for Uni, so I'm not asking anyone to solve it for me but any tips would be really appreciat...
[16 replies] Last: :) (by kemort)
Pointers to structs
 
Hi. I have some logic trouble (again) regarding the assignment of struct data type variables. E.g. 1...
[2 replies] Last: Yes, I was told about something about cast, but i wasn't sure of what ... (by Yoooooo)
Reading in a file to a dynamically allocated array and changing the array's size when it is full
 
I'm trying to read in a file of unknown length into a dynamically allocated array, and anytime the a...
[4 replies] Last: I figured it out but now I am getting two memory leaks. I am deallocat... (by TeebqneX)
Returning two values
 
Going to preface this with that it is hw so obviously I can't ask for an answer, just hoping for som...
[2 replies] Last: one alternative way struct retme { double d1; double d2; }; r... (by jonnin)
Pages: 1... 5758596061... 64
  Archived months: [feb2017]

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