Beginners - April 2016 (Page 19)

Gaussian elimination code, where I am mistaken?
 
Hello there. So, for the last 2-2,5 hours I've been writing this code for the Gaussian elimination for solving matrix equations in the form Ax = b. Obviously, s...
[1 reply] : Oh, I forgot to mention the input. First line, an integer N, specifyi... (by jgg2002)
Error
 
This is my assignment: Write function doFrac that returns a string representing a common fraction given its numerator and denominator as input arguments and al...
[3 replies] Last: Thank you both! That fixed it all. I knew that, but I can't tell you... (by danmiller24)
by nolza
trouble with derivate class using template
 
I get this error: In member function 'data hand<data>::getfingers()': 18:29: error: 'fingers' was not declared in this scope In instantiation of 'data hand<...
[2 replies] Last: Thank you very much! (by nolza)
while loop-- NEED HELP
 
I need help on how to write a while loop for this program (the assignment is posted below). I have no idea how to set it up other than what I have in the code a...
[3 replies] Last: Two problems with the following statement. if (! inFile >> mile >> p... (by AbstractionAnon)
initializing bitfield inside a structure
 
I found what was the problem but I dont understand why exactly it was a problem. So here it is. I was having this bitfield and unused bit type was int typedef ...
[17 replies] Last: Tnx man for tips and info as always :) (by etrusks)
Problem checking bool.
 
Hello, I have a class with 2 bools and inside the class I have a function that toggles the bool when the user presses a key. Like this: class Settings ...
[6 replies] Last: #include <atomic> #include <thread> #include <functional> #include <c... (by JLBorges)
Should I call the delete function here?
 
This is my program, should I call the delete function for delete_repeats(a, size) in order to return the memory for freestore. *** delete delete_repeats...
[2 replies] Last: Thanks @Peter87 (by LDbunny)
Need help
 
I am trying to figure out how to begin this program for my CSCI course, the guidelines are as follows: You are to write a program to calculate the averag...
[1 reply] : This is not a homework site. We won't do your homework for you. Howeve... (by AbstractionAnon)
Visual Cancer Detection
 
Hello I am a newbie in c++ and I would be so grateful if you help me. I am familiar with Matlab and Python but I need a program that detects and classifies our...
[3 replies] Last: I don't know the exact answer to your question, but thankfully I am a ... (by MatthewRock)
Need help with a while satement
 
When I try to get the "low" to be outputted, it just outputs "0". I am not sure what else to do. Any advice and help is appreciated. Thanks in advance. ...
[3 replies] Last: And how do you know that line 85 is ever being reached? Learn to debug... (by Moschops)
by enesdl
DWITE Minesweeper Program
 
Hi guys, This is an old DWITE contest question and I was wondering where I could find the solutions. (In c++ please). This is the question I am talking about....
[15 replies] Last: Hey, so I got the code working! I just had to create a new text file a... (by enesdl)
Help with arrays
 
Hi everyone, I need a help for the following task, please: A series of files have been sent to your program with different memory sizes. The sizes are all in w...
[3 replies] Last: I think the problem is that you store the biggest value in biggest_arr... (by Thomas1965)
static_cast<> not converting my variable ?
 
So I created a program that ask the user's height in integer and display it in foot inches. but when I convert 'inches' (the variable that holds the height in i...
[1 reply] : The result of the cast is double. On line 12 you don't use the result ... (by coder777)
Liked-List to Convert Char to UPPERCASE
 
Hello, I am trying to convert a character sentence to an to UPPERCASE using Linked-List queue. Below is my code, but it's not compiling, and I can't figure o...
[1 reply] : Return Value The uppercase equivalent to c, if such value exists, ... (by integralfx)
by matadm
Looking for some input!
 
Hey everyone, I've posted here a few times already, and I am still learning. I have just got a new code going and, although it's not super complicated, I'm stil...
[2 replies] Last: Thanks so much! I'm going through your revision of my code and learnin... (by matadm)
by matadm
Learning C++ simple username/password check
 
Okay, I have posted here in the past and I am still working on my c++ skills, but I'm a tad curious as to why I have to forward declare a function that I have i...
[3 replies] Last: Thanks everyone, I apologize for the late response. I got that figured... (by matadm)
by GonlyG
Empty Output in tictactoe program
 
In my tictactoe program, numbers are inputted symbolizing the moves 1|2|3 4|5|6 7|8|9 3 in a row wins. However, if I attempt to output the array of "X" an...
[2 replies] Last: sorry about that. Welp, I changed my strategy to what I think is a mor... (by GonlyG)
Need help on what to do next in a program
 
I need help on what to do next in a program. Here are the directions, and what I have so far. I just need help on coming up with how to write the function to ca...
[2 replies] Last: I suggest not reading from the file every time you want to get a numbe... (by xismn)
Problem about append 2 files
 
Hi all. I have 2 files: exam1.txt: cplusplus exam2.txt: is a general-purpose programming language I want to convert exam1.txt to uppercase, then append exam2.tx...
[2 replies] Last: Thanks coder777 . Have a nice day. (by cegodica)
Assigning encrypt/decrypt function to an inputted string
 
I'm attempting to write a function that will encrypt or decrypt an inputted string. A string is declared to represent the alphabet (ALPHABET), and lists all acc...
[no replies]
April 2016 Pages: 1... 1718192021... 43
  Archived months: [mar2016] [may2016]

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