General C++ Programming - December 2011 (Page 6)

AT commands in C++
 
Hi I need to interface and receive the sms thats reaching my SIM card(GSM SIM ). I know i need to use AT commands in order to read and sent sms via a computer ...
[3 replies] Last: How to open COM port ? With CreateFile in windows, in linux I think ... (by modoran)
How do i pull data from MYSql and assign it into a variable?
 
For example, I want this char filter_exp = "" "" = Whatever is in the Setting Table that has a field name Protocol. E.G = TCP, UDP, ICMP
[no replies]
how?
 
were do i go to learn to make my own graphics and sound and stuff i don't like using sfml and would like to make my own but i'm not sure what site to go to to b...
[8 replies] Last: Windows (as in graphics context), Input, Audio, etc. are still done by... (by closed account S6k9GNh0)
Problem out of range with stack class
 
I'm trying to create a calculator that contains two stacks. One stack contains all the numbers and another contains the operands such as */+- etc. Every time i ...
[no replies]
Member Functions!!!
 
Hello!!! I want to create these two member functions (AddMember() for adding members and DeleleMember() for deleting members) in my derived class but i can't u...
[3 replies] Last: You can use a new class and add Members as needed (with new Members... (by eypros)
Transferring Data between Main and a Function
 
Im trying to create a calculator program that simply separates the values of a string into numbers and symbols such as -+*/ etc. I'm having problems trying to u...
[3 replies] Last: I found out the problem in an earlier part of my code. Apparently i wa... (by AsianHaxer01)
OpenAL
 
I have been trying to learn how to use OpenAL all day but i cant find any decent tutorials or source codes. What is the simplest way to just play a sound ?
[no replies]
Code is not running plz check
 
#include <conio.h> #include <stdio.h> #include <iostream.h> #include <math.h> void main() { float a,b,c, res; cout << "a=" ; cin >> a; cout <...
[6 replies] Last: I use Mingw on Windows and that seems fine too. (by Mats)
COPYING TO BOOT SECTOR
 
how to create a program that can copy our program's .exe to our boot sector??? so that it runs every time our windows starts???
[4 replies] Last: Besides, unless you have malicious intentions you shouldn't make anyt... (by hanst99)
comparing arrays with a for loop
 
I know how to compare them with a while/if loop but how can i compare these arrays with a for loop? #include <iostream> #include <string> using namespace ...
[4 replies] Last: Actually, Cubbi was showing the the individual values in each array, n... (by whitenite1)
Vector class and Iterator
 
what seems to be wrong with my program conversion from '__gnu_cxx::__normal_iterator<content*, std::vector<content, std::allocator<content> > >' to non-sca...
[2 replies] Last: alaa :) thanks L B. (by mahinkhan22)
Graphical User Interface
 
I have noticed that the Java programming language has more graphical capabilities than C++. Is there any way I could get the same graphics in C++? Which lib...
[7 replies] Last: C++ is great for high level/low level programming and does not even ne... (by LB)
exception handling for int overflow (1,2)
 
I've written a routine to raise an int to a supplied power. I've never worked with exception handling; is there a way to test whether my result has overflowed t...
[21 replies] Last: Then will the following modification to Cubbis function also not work ... (by SIK)
by tenaz3
Problem using set<>
 
Hello, i want to create a set to control my objects of type Habitante, but i just want save one reference of each object, so my difficult is how can i write fun...
[3 replies] Last: class Habitante{ public: // access specifier, "private" is default ... (by Catfish)
by jamac
Raw binary data conversion
 
Hi there, Ive tearing what little hair I have left out over this one and not sure where else to turn so created account here (after picking up so many tips o...
[7 replies] Last: Hi all, Will mark as solved. Use of unsigned char in line 4 of my ori... (by jamac)
Unable to input in cin when using sstream
 
There is no error code, that's the problem, when I use the code below. Everything worked fine until I added the code that is between the @@@@@@@@@@ #include...
[1 reply] : After cin >> i; you're calling getline (cin,mystr2); . The operat... (by Cubbi)
calling function seems dosent work. pls help
 
hey guys how are u today? btw my program seem to have lil prob. my function determineLevel seems cant be called. it give undeclared error. anyone have i...
[8 replies] Last: thanks a lot it should be void rate(Movie r) { cout << "... (by shdin271)
by TPWT
Checking if a variable exists:
 
Hello everyone- this must be a simple problem, but I can't find a solution everywhere. I have a set of variables (created via struct): struct problemS...
[1 reply] : Don't do this. AFAIK this is reflection and it's hard to implement in ... (by majidkamali1370)
GLUT: Drawing keeps on blinking. Need Urgent help
 
Hi, I have been drawing circles using glut. But they keep on blinking. Please help! functions are below: main: int main ( int argc, char **argv) { gl...
[8 replies] Last: ok removing the glclear works!! :D thanks so much (by biplav17)
Manipulating a class member outside a class
 
Hi, I want to change value of an object that is a member of another object. Although i used as a reference parameter in a function, i could not achieve this. ...
[6 replies] Last: Thank you all, @uberwulu, @Aramil of Elixia : the code i gave above wa... (by kayseri)
December 2011 Pages: 1... 45678... 39
  Archived months: [nov2011] [jan2012]

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