
please wait
by aurimas13
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 be doing it wrongly as I'm not getting what I'm supposed to. ... |
Sep 5, 2017 at 7:24am
[19 replies] Last: Thank lastchance & kemort. Now I have two programs working. (by aurimas13)
|
by technologist
general fx callback question
|
Does a callback function in c/c++ require monitoring in a loop to keep it alive, or can one "fire and forget" by having it interrupt when triggered without bein... |
Sep 5, 2017 at 5:10am
[1 reply] : It depends entirely upon the event mechanism. Some callbacks require r... (by Duthomhas)
|
by elisatih
Access element of Vector
|
Dear all, I use this code in my research, vector<RoutingPacket> bufferAggregate; class RoutingPacket: public::cPacket {} class LeachRoutingPacket: public::Ro... |
Sep 5, 2017 at 2:33am
[19 replies] Last: eureka... this code, changing *netPacket (remove the encapsulated pac... (by elisatih)
|
by asdfcxz
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 the phone keypad the letter corresponds to. Then i want to p... |
Sep 5, 2017 at 1:19am
[2 replies] Last: @wildblue hahaha shit idk how i fucked that one up thank you (by asdfcxz)
|
by DragonOsman
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-public/2_B1w8V0DKw . I've attached the .cpp file and also the ... |
Sep 4, 2017 at 7:54pm
[no replies]
|
by shivamjain1
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 cursor. I want the numbers from file as output. Please help ... |
Sep 4, 2017 at 6:39pm
[2 replies] Last: Thanks. got it. (by shivamjain1)
|
by aurimas13
Simpson's rule question
|
Hey guys, I know that Simpson's rule has to be applied for even n rectangles, however in my assignment I am asked to calculate in 7 rectangles between a = 0 and... |
Sep 4, 2017 at 4:13pm
[14 replies] Last: Thanks again kemort. (by aurimas13)
|
by UmairAli
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 was umm i know its a dumb question to ask but i really wan... |
Sep 4, 2017 at 3:13pm
[2 replies] Last: Thanks for the reply buddy :) and also for the links repect + (by UmairAli)
|
by mariana09
Need help with simple programming
|
write a C++ program that will calculate the miles per gallon a car gets given the gallons of gas used and the total miles driven. Assume that the car holds 15 ... |
Sep 4, 2017 at 11:02am
[15 replies] Last: Why do you keep deleting your code? It makes this thread useless as a... (by MikeyBoy)
|
by SkinnyBruv
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 far (Since learning a new program is fkn hard). The program... |
Sep 4, 2017 at 10:39am
[4 replies] Last: #include <sstream> int data_2 {0}; std::stringstream i... (by closed account 48T7M4Gy)
|
by aneurysm
Need Help Searching Array
|
Menu driven program. Function is to allow the user to enter a fruit type and display the price. Data is loaded into the arrays from a text file and I have alrea... |
Sep 4, 2017 at 10:22am
[4 replies] Last: @aneurysm http://www.cplusplus.com/forum/beginner/220979/ Don't dupl... (by closed account 48T7M4Gy)
|
by shivamjain1
\t giving more space in c++
|
Why is the output showing more space between the words "10 years" and "15 years" despite giving only single \t as between other words. #include<iostream> us... |
Sep 4, 2017 at 7:20am
[7 replies] Last: I used setw to add spaces manually and got the desired output as shown... (by shivamjain1)
|
by JUAN DENT
How can I test that a construct must not compile?
|
Hi, Say we have a three element maximum MPL style sequence (as in the tiny type in the book C++ Template Metaprogramming). I want to place a test that fails (r... |
Sep 4, 2017 at 4:08am
[6 replies] Last: I'm guessing a bit: # include <type_traits> # include <utility> tem... (by mbozzi)
|
Not getting any error messages but... |
my output is completely wrong! I'm totally not sure why this is or how to fix it.. #include <iostream> #include <iomanip> #include <string> using nam... |
Sep 3, 2017 at 11:49pm
[2 replies] Last: ... (by ne555)
|
by paraxod
Counter object that declared only in the base class but used in every derived class separately.
|
Suppose I have a class which represents kind of protocol for other classes that inherited from it: //Protocol.h class Protocol { protected: //each... |
Sep 3, 2017 at 8:44pm
[9 replies] Last: But if I chose to increment counter inside the constructor of each cl... (by mbozzi)
|
by Tontonbaboum
For loops: definition of int as local or global
|
Dear all, I am creating a class, for which some methods include loops and double loops of the form: for (int i = 0 ; i < L1 ; ++i) { ... do_some_cal... |
Sep 3, 2017 at 6:02pm
[2 replies] Last: Great, that answer the question. Thank you for the reply. (by Tontonbaboum)
|
by olfibits
Qt Sound problem
|
Hello again, I'm now working with Qt to develop GUI application. My current project is a cross-platform timer application. The GUI prompts the user to set... |
Sep 3, 2017 at 3:03pm
[5 replies] Last: Executing qmake helped to build the EXE, but QSound doesn't play the s... (by olfibits)
|
by Kiryu
My code is a mess
|
Hey, as the title suggests, I have a problem that often holds me back from continuing my projects, and that is my code! Before I continue, the most important... |
Sep 3, 2017 at 2:59pm
[no replies]
|
by ArchRon1n
Cannot get correct output from separate file.
|
Please if possible can anyone improve my code. This project is due in two days time. So basically what I need is: 1. for users to input the item they want and ... |
Sep 3, 2017 at 2:40pm
[5 replies] Last: See that's the problem I know for sure there is a problem within my co... (by ArchRon1n)
|
by Brandon i
Metric tons program
|
I know this form says no home work aloud but I need help I can't figure this out. The program I'm trying to make is that it need to prompt the user to enter the... |
Sep 3, 2017 at 7:15am
[6 replies] Last: What are you confused about? It's a user input and printing out comput... (by Hengry)
|