Beginners - January 2017 (Page 10)

finding biggest and smallest values in array
 
hi guys I wrote some code to find the smallest and biggest values in an array the smallest function ...
[15 replies] Last: thanks guys much appreciated for all the help (by adam2016)
C++ Showing Data Results MySQL
 
So right now i am currently trying to make a search function! this is a picture of my current Applic...
[4 replies] Last: For example, if your table has a field called user_name you can access... (by Thomas1965)
Class declaration
 
I'm studying class and I dont understand why the scope resolution operator is needed in this code. f...
[2 replies] Last: float set(float v) { A::v += 1.0;// line not understand return ... (by integralfx)
Arrays and structs for memory usage and leaks
 
This is a logical question. #include <iostream> #include <string> #include <cassert> /...
[9 replies] Last: I see, ok. ok so creating the array of struct and the array of object... (by Kourosh23)
Selection Sort Function Not Working
 
I am inputting info into my array from a .dat file. I can see the unsort info from the file. When it...
[no replies]
Changing data using pointer parameters
 
I have a function declared as bool handshake(uint64_t slaveAddress, unsigned long* timeDa...
[2 replies] Last: I am programming for Arduino so some calls to library functions may lo... (by vagulus)
learning about C++
 
hi i am a beginner and we just started learning about pointers, and my question is "Why pointers are...
[2 replies] Last: Why pointers are important Why are array indices important? Pointe... (by mbozzi)
Does not read 0
 
Hello! The program doesn't seem to like setting the input variable to 0. With any other number, the ...
[4 replies] Last: OP: if you're trying to make some variant of your program work instead... (by gunnerfunner)
by l7042
Number Triangle question
 
I received this problem from my teacher, could someone help me with it? Number Triangle - Print the...
[4 replies] Last: thanks got it. (by l7042)
while loop does not end
 
Hi. Why does my while loop never end? Even if I enter 0 , it still lets me enter. The program should...
[8 replies] Last: Thank you all :) (by snekus001)
started learning void function, got a problem
 
Hi, i'm new to programming, just started 3 months ago, and I got an issue here. Sounds like an easy ...
[15 replies] Last: Wow, thanks a million! :) (by snekus001)
by Mahmgl
Condition never true
 
This is a piece of a simple Tic Tac Toe program... The problem is that in the main menu function wh...
[7 replies] Last: That worked thanks very much! (by Mahmgl)
Deal or No Deal with arrays
 
I have a homework assignment and I feel like half way done with it but it does not run properly. ...
[3 replies] Last: Good point! Thank you so much for your help! fixed it this way #... (by amayakichi)
What is mean of #name ?
 
I saw some codes using macro definition to define a function alais. But I don't understand why it pu...
[3 replies] Last: You can pass almost anything as argument to a macro, not just variable... (by Peter87)
C++ SQLI Vulnerabilities?
 
So i am creating this program kinda as a self enjoyment and learning experience so this is not neces...
[1 reply] : One way to prevent SQL injection is to use the MySqlCommand.Parameters... (by Thomas1965)
Point of Sale Program
 
This program works just fine when I enter "b" as "entree", but it loops back to the opening statemen...
[3 replies] Last: I edited it. Now it's #include <iostream> using namespace std; int ... (by JarrodBaniqued)
by NateE
Calculate Area of Circle, Square, Rectangle Using Headers Files
 
I added the shape Rectangle to my code that was previously working correctly. Now I am receiving err...
[5 replies] Last: Shape in this case needs to be an abstract class with no implementatio... (by kevinkjt2000)
Create book Function
 
I keep getting an "Expected Primary Expression before '>' token " in this line: cin.ignore(numeric_...
[4 replies] Last: Oh yup just forgot a #include, its working now, thanks (by Harvestmoon)
by Kyrobi
Prevent "'Sigkill' to stop program
 
Hello everyone! So I have been learning C++ for about 5~ weeks now or so, and I have created some...
[1 reply] : No, you cannot prevent SIGKILL from killing your program. See: https:... (by mbozzi)
Subliminal messages
 
Hi guys, I'm learning about C++. I have an assignment but I have no idea how to write it. Is there a...
[5 replies] Last: Please don't do homework assignments for people. People need to be gi... (by PanGalactic)
January 2017 Pages: 1... 89101112... 24
  Archived months: [dec2016] [feb2017]

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