General C++ Programming - July 2013 (Page 12)

How to send UNICODE characters to serial port
 
I am trying to write data in Russian language to the serial (RS-232) port. My display device is already set to that character code page. But output on the d...
[4 replies] Last: Thanks to all the experts for your guidance. With your guidance I am p... (by vikas saharan)
VGA i/o modes (not write modes)?
 
I'm checking the formulas used to process the VRAM address from the CPU (0x00000-0x20000 max (when using 0xA0000-0xBFFFF)) to planar addresses (plane 0-3 offset...
[no replies]
by Snaksa
Expression binary tree
 
Hello. I want to add mathematical expression in a binary tree but I have some problems with the algorithm. I found this one: If the current token is a...
[1 reply] : Here is the new code that I made: template<class T> void Tree<T>::Exp... (by Snaksa)
checking the order of binarytree
 
I get stuck while I write codes about checking the order of binarytree. here is what i got so far, bool BinaryTree<int>::isOrdered(const BinaryTree& root) ...
[1 reply] : "Ordered" as in BST? http://en.wikipedia.org/wiki/Binary_search_tree ... (by keskiverto)
do while loop is not working in my program someone plz help
 
case 9: show_in_out_info(); break; } getch(); } void input_student_info() { do { cout<<"enter reco...
[6 replies] Last: This works, but could do with a lot of improvement, as I'm sure you do... (by ajh32)
by Tomhet
Lua 5.2
 
ey I'm getting crash when I make alot threads for a lua_State* although if I make new state each threads no crash but very nuff solution... lua_State*L...
[2 replies] Last: ah... I'll just lua_remove(L, lua_gettop(L)); after thread creation..... (by Tomhet)
by meesa
[C++] Inconsistent Output (1,2)
 
This is driving me crazy. I have a function that is written to take "A string of text." and turn it into Other Output A string of text. Very s...
[32 replies] Last: Cheers!! (by TheIdeasMan)
Not sure what to do with this error
 
#include <stdio.h> #include <conio.h> #include <limits.h> #include <stdlib.h> int Code ; char Name ; char BlockBuildingNo ; char StreetAddress ; ch...
[2 replies] Last: From your code it seems there is a lot of confusion regarding function... (by abhishekm71)
Memory points not working.
 
I've been researching everywhere for this issue, yet I can't see what's wrong. This is the source code. ------------------------------------------------------...
[3 replies] Last: Ah, holy crap, it is a char pointer. Don't know why I was thinking i... (by Duthomhas)
File created but empty
 
A file is created but its empty. And when I first create an entry and then display all the entries, it does nothing. Please Help. #include<iostream> #include<...
[2 replies] Last: Thanks. But now when I restart the program and if the dat file already... (by vishesh92)
Arrays and grade averages
 
??? Write a C++ program that can be used to determine grades at the end of the semester. For each student, who is identified by an integer number between 1 a...
[8 replies] Last: Thank you sooooo much, and I will! (by virginiababy)
type name not allowed
 
#include<iostream> #include<cstdio> #include<list> #include<vector> using namespace std; #define MAX 100001 class Graph { public: class edge { ...
[5 replies] Last: thats very simple....thanks a lot vlad :) (by amitmac22)
by Avro1
Can't initialize string array in constructor
 
Hi everyone, I am currently practicing designing classes. In one exercise, I am trying to store 15 words in an array, and randomly print one (using the rand(...
[2 replies] Last: I changed your code hope its fine header file (GuessWord.h): # ifnd... (by closed account 28poGNh0)
by Niven
Scaling Matrix in GLSL
 
I'm working on creating shaders to be used for displaying text in my openGL programs but am having trouble. I want to be able to scale the text but I don't want...
[4 replies] Last: Since it doesn't look like the problem is with the shader, I'm gonna l... (by Niven)
what kind of error?
 
#include<iostream> using namespace std; int main() { int i=10,j=5,m=0,d=0; m=i%j; d=i/m; cout<<d; return 1; } i am new t...
[6 replies] Last: You're welcome dont forget to create you own thread (by closed account 28poGNh0)
help ! vc++ adding winsock control to existing project
 
hello dear forum, I have an existing VC++ 2008 project named MOCON ( motion control program ) I add a form MOCON1.h to this project and added a winsoc...
[no replies]
by follys
rectanglef in c++
 
I need to use the type RectangleF as a built in type in c++ ie I need to declare a variable rect as RectangleF rect; what do I have to include to be a...
[2 replies] Last: Are you trying to do some homework assignment? What does the questio... (by ajh32)
Why I am getting c=1;
 
Why I am getting c=1,, When c was in base class . #include<iostream> using namespace std; class A { public: int a; ...
[2 replies] Last: First off all ,In this case ,you dont need to add two publics inside y... (by closed account 28poGNh0)
Timidity++ adjusting to emulate MIDI I/O port?
 
Is it possible to adjust Timidity++ to emulate a general midi device in my x86 emulator? If so, then how? (What functions need to be called to read/write Midi d...
[no replies]
by IGio91
I Right this?
 
Hi , i need to write a program that have an indefinited number of person with name, number of phone and all the call that they have do that can be 0 or 10000! ...
[3 replies] Last: Sorry, I can't use class, seem that the it seems that he wanted to tra... (by IGio91)
July 2013 Pages: 1... 1011121314... 34
  Archived months: [jun2013] [aug2013]

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