Beginners - March 2017 (Page 30)

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 with the GNU GCC compiler. is the issue the compiler, code ...
[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 description of this problem Among many measurement systems t...
[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 display all of the triples of consecutive introduced numbers(e...
[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 have to do a "break"?? #include<iostream> #include<conio.h>...
[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 from the 80s, and then return that to the user. I am having...
[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; //c++ program #include <iostream> using namespace std...
[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 new string name and outputting it to a new file. My compiler i...
[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 time error. what would be the problem? void firstOne(int a...
[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. This program is meant to read an inventory from invent.in and...
[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 and outputs weather or not the student who's name the user t...
[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 need the coding && overloaded operator(defination; outside t...
[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 little confused on the rest. void List::AddNode(int ad...
[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 database with files ,i want to hold the full name of the pe...
[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 found. I just want to know if the position of a destuctor doe...
[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 appreciated. I have to find all 'quite good' (not perfect) numbers...
[16 replies] Last: :) (by closed account 48T7M4Gy)
Pointers to structs
 
Hi. I have some logic trouble (again) regarding the assignment of struct data type variables. E.g. 1: declaring a normal variable (var) of struct data type ...
[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 array is full to call another function to double the array's ...
[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 some assistance to get pointed in the right direction. The prob...
[2 replies] Last: one alternative way struct retme { double d1; double d2; }; r... (by jonnin)
Need multithread sleep
 
deleted
[8 replies] Last: There's nothing useful in this thread and I'm getting nothing but a ha... (by closed account yb54LyTq)
March 2017 Pages: 1... 2829303132... 36
  Archived months: [feb2017] [apr2017]

This is an archived page. To post a new message, go to the current page.