General C++ Programming (Page 7)

An array with one const and many other variable
 
Dear all, I need to implement an array of float of size N, but for which the first element always...
[9 replies] Last: if you are doing a sum of products over it, I recommend option 4, just... (by jonnin)
The output is not coming out correctly.
 
Hey guys I have a program that takes three temps from the user and calculates the average for them. ...
[5 replies] Last: Well I feel really stupid got it working thanks guys....... (by nightskyxXx)
by TravH
NodeJS Server and C++ Client Not Communicating
 
Hi C++ Community!, I am posting here after spending a few hours with my client and server applicati...
[4 replies] Last: You need to check the results of connect(...) and recv(...) to see whe... (by coder777)
2D ARRAYS PLZ HELP
 
I am trying to write a code the calculates couple of things: 1)avg of some students' GPA in a spec...
[2 replies] Last: since the row has 3 columns, const int ROW_SIZE = 3; const int COLUM... (by keskiverto)
Any tips for my assignment?
 
Hi there. I have an assignment which is titled : Write an application in C++ for a company to keep t...
[1 reply] : You need to know how to do read from file, so look at ifstreams. Learn... (by Hengry)
Using arrays
 
I am trying to teach myself to code in C++ and I am having issues with using arrays. I saw some prac...
[5 replies] Last: I tried the code and it worked like a charm. I appreciate the feedback... (by thompsonj89)
by i773
Invoking functions with a map question
 
I’m invokeing some functions with a unordered map by a string: MyConstructor() { function...
[6 replies] Last: Thank you so much! (by i773)
Print string vertically
 
The complete question is : 12. Write a function printVertically that takes a parameter of type strin...
[12 replies] Last: JLBorges +1 for (auto c : s) ... (by Duthomhas)
Newton Raphson question
 
Hello, I am trying to write a program that gives me a root of the function using Newton Rhapson meth...
[5 replies] Last: I would like to keep fk(x) function and remove fk_p() which basically... (by lastchance)
I'm in desperate need of help!
 
I've been trying to fix my problem but i'm just in a shortage of time (5 hours to be exact) So I don...
[3 replies] Last: Thank you all for your help! This assignment was really tedious and co... (by ArchRon1n)
Pointers and a problem to solve with them
 
Hello, I have a question regarding pointers, the written code and wish to understand where I might b...
[19 replies] Last: Thank lastchance & kemort. Now I have two programs working. (by aurimas13)
general fx callback question
 
Does a callback function in c/c++ require monitoring in a loop to keep it alive, or can one "fire an...
[1 reply] : It depends entirely upon the event mechanism. Some callbacks require r... (by Duthomhas)
Access element of Vector
 
Dear all, I use this code in my research, vector<RoutingPacket> bufferAggregate; class RoutingPac...
[19 replies] Last: eureka... this code, changing *netPacket (remove the encapsulated pac... (by elisatih)
please help with switch loops
 
So i am trying to have the user input a letter, then use a switch loop to determine what number on t...
[2 replies] Last: @wildblue hahaha shit idk how i fucked that one up thank you (by asdfcxz)
PPP2 Chapter 16 Exercise 8 - Help Needed
 
You can find the code on the PPP Google Group, here: https://groups.google.com/forum/#!topic/ppp-pub...
[no replies]
How to read from file in c++
 
myFirstfile.txt has 4 numbers 4 5 6 7. I am not getting any output. Instead I am getting blinking cu...
[2 replies] Last: Thanks. got it. (by shivamjain1)
Simpson's rule question
 
Hey guys, I know that Simpson's rule has to be applied for even n rectangles, however in my assignme...
[14 replies] Last: Thanks again kemort. (by aurimas13)
Want to learn Everything in c++
 
hey ? i am new here and i hope this thread wuld be in the right section , the purpose of this thread...
[2 replies] Last: Thanks for the reply buddy :) and also for the links repect + (by UmairAli)
Need help with simple programming
 
write a C++ program that will calculate the miles per gallon a car gets given the gallons of gas us...
[15 replies] Last: Why do you keep deleting your code? It makes this thread useless as a... (by MikeyBoy)
Creating a recurring number program from a file (Soon to be more)
 
Howdy guys, This is the first time ive posted in cplusplus.com, and im quite glad i've gotten this ...
[4 replies] Last: #include <sstream> int data_2 {0}; std::stringstream i... (by kemort)
Pages: 1... 56789... 17
  Archived months: [jul2017]

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