Beginners - July 2014 (Page 34)

by mehak
interrupt
 
when i use the following syntax in my code it says interrupt declared void but as far as i know this is the correct syntax of interrupt void interrupt(*...
[4 replies] Last: c++ knows nothing of interrupts. handlers are static void functions wi... (by Jaybob66)
by chanu
absolute value for long long it
 
How to obtain absolute value for an "long long int" n gcc-4.8.2 The following code facing compilation error , i used llabs(x) too , how to get rid out of tha...
[3 replies] Last: Thanks @chervil (by chanu)
How to convert QByteArray from QAudioInput to float
 
Hello, I'm a beginner in c++ and especially in Qt. I took the data that come from the QAudioInput and put them in a QByteArray. But now I want to convert t...
[3 replies] Last: I also this kind of error : -1.#QNAN so maybe it come from my code but... (by Saigneur)
std max
 
#include <iostream> int main () { std::cout << "max(1,2)==" << std::max(1,2) << '\n'; std::cout << "max(2,1)==" << std::max(2,1) << '\n'; std::cout...
[6 replies] Last: can i use template function even i dont learn it just by using <algor... (by xenovia12)
by chanu
Bypassing enter
 
My doubt is how to read a string in next line followed by an integer like as follows 8 111111110001 we have to read from keyboard 8 as integer and then after ...
[7 replies] Last: okay i think the reference is enough. thank you (by xenovia12)
by mehak
far pointer
 
whenever i run this code it gives an error saying C:\Users\Mehak\Desktop\Untitled2.c||In function 'main':| C:\Users\Mehak\Desktop\Untitled2.c|4|error: expecte...
[4 replies] Last: Huh, I didn't know far pointers were even a thing. From what I've foun... (by Yay295)
Error
 
Hi I am trying to run this piece of code but whenever I do it I always receive this error message: "The program can't start because MSVCP120.dll is missing from...
[1 reply] : -> "Try reinstalling the program to fix this problem." As an aside, y... (by Yay295)
please help to write the code to calculate tax
 
define a structure employee with name, category , salary, tax as a member. read the name category and salary of employee and calculate the tax as below cate...
[1 reply] : How to create a struct: struct <struct_name> { <var_type_1> <var_name... (by Yay295)
by omoe
How can i protect my DLL ?
 
Hello guys , I have a DLL done with some functions , I want to hide the functions name from showing in a disassembler such as IDA , e.g. i have a function call...
[1 reply] : There's Mangle-It if you want to fork out some cash http://www.brother... (by Lachlan Easton)
die roll simulator using functions
 
Hi there. I need help with my program. Basically it has to collect dice rolling statistics using functions. the output i'm getting from my code does not count a...
[3 replies] Last: hi wildblue & Jakee, Thank you so much for the help. I followed your c... (by keran14)
Console Menu
 
I have a question that I'm having a hard time wording, therefore, having a hard time finding an answer to. Maybe the good folks of cplusplus can help. How ca...
[1 reply] : I donot know how u could do that or if it is even possible. But what I... (by closed account EwCjE3v7)
by Jakee
Dynamic Memory(Smart Pointers)
 
So I just finished my chapter in C++ primer about dynamic memory. It talks about smart pointers such as shared or unique pointers and they are automatically des...
[2 replies] Last: Thanks Galik! (by Jakee)
Pointers - not sure what this means...
 
Hello! I have a very small question, I was just wondering why there is an asterisk besides (coins+count) and what exactly it does. I know it's a pointer but...
[4 replies] Last: Oh, ok! I will definitely keep this in mind! Thank you very much for t... (by NookLines)
Need help building a project that uses non-standard libraries
 
I'm trying to build a project called KISS Player (http://sourceforge.net/projects/kissplayer) but I've never built a project that relies on outside libraries be...
[2 replies] Last: Yes, it does come with a makefile. It also comes with a .cbp which is ... (by JamieJamieJamie)
very, very new and don't know squat - need help
 
I'm not sure where I have fell off, but I am just not getting something (obviously something important). I have read several answers/questions, but have not fi...
[7 replies] Last: If the minus sign in the lines that have this - [plant_number-1] got c... (by wildblue)
How to Update a Content in a Console without Using System ("cls") or any other equivalents
 
In Fact Iam making a Game and I want to make a timer in it that counts up , and I want to make it updates the seconds and minutes without clearing the whole scr...
[2 replies] Last: I don't necessarily agree with that. It is exceedingly easy to manage ... (by Duthomhas)
Using arrays to get min, max,mean and range of positive numbers excluding the non-positive
 
I am relatively new to C++ and I have a presentation tomorrow based on the following question. Write a C++ program to read a sequence of (non-negative) integer...
[3 replies] Last: Line 8: Missing ; Not initialized. Line 9: Using unsubscripted ... (by AbstractionAnon)
Loop need a better understanding
 
Can someone explain loops to me a little better. I am studying loops and watching youtube videos and i just cant understand the loops. I picked up everything e...
[3 replies] Last: The do/while idiom says you want to execute the contents of the loop a... (by AbstractionAnon)
Homework help:Classes
 
I think I am near finishing this assignment, but am having problems in the default constructor saying "the expression must be a modifiable lvalue" for line 21...
[6 replies] Last: Yea, I realized i should replace the While loops with if's. I don't kn... (by TheRefus)
Need Help. Exchange Values in an Array
 
I am having trouble with . . . The assignment: Write a program to declare and initialize the following array: int array = { 10, 20, 30, 40, 50, 60 }; Now ad...
[7 replies] Last: Ahh . . . ok, that makes perfect sense. I just wasn't getting it, but ... (by CMonkey)
July 2014 Pages: 1... 3233343536... 43
  Archived months: [jun2014] [aug2014]

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