General C++ Programming - September 2012 (Page 30)

check whether character is digit or alphabet.
 
i have been given an assignment to check whether a given character is a digit or an alphabet but wit...
[4 replies] Last: You could also use the functions from <cctype> without including the... (by closed account DSLq5Di1)
by Numeri
Reading a Text File into a 2d Array
 
I am trying to read this text file: & @d| dddd| ----| into the char array Map . My code just ...
[4 replies] Last: Thank you so much! (by Numeri)
vector looping problem
 
I'm writing a program to demonstrate static memory partitioning. The program takes user input for 5 ...
[1 reply] : Well, I figured it out. I added a couple if statements to the beginni... (by ecallen)
Qt Move textcursor to right click point
 
Hi all, I'm making a simple text editor with qt. At the moment I have a standard context menu which...
[1 reply] : And the answer is QTextEdit:: cursorForPosition. (by rozick1)
segmentation fault
 
Hi, I have a problem with a program I've been writing for the past couple of days. The series of eve...
[2 replies] Last: It's okay I fixed it. (by hector409)
When are rvalue references to primitive integers short-lived or long-lived?
 
I have done some experimentation on rvalue references with the TDM-GCC 4.6.1 compiler and made som...
[1 reply] : Returning a local variable by reference is undefined behavior, regardl... (by Cubbi)
Integer logarithm with base 2
 
Hi, I'm currently working on a template class which basically works just like the int type, but s...
[6 replies] Last: Oh you're right. That's a nice and simple solution :) Problem solved,... (by AleaIactaEst)
Issue with program to automate excel
 
Dear C++ Gurus/Experts, I am writing a program to automate excel.My program is working well when ...
[2 replies] Last: Thanks for your help Mr.Kbw.I am able to proceed further. (by Haroonrulz)
Reading Binary files
 
Hi, I am trying to write the code to read binary files which is generated by other system say X ...
[4 replies] Last: thanks i am able to read (by suryakalam)
by vw4x4
please give an example fot the following situations.
 
1)unsigned short is converted into int,if short is smaller than int.please give an example of this s...
[1 reply] : 1) unsigned short x = 0; int y = 0; std::cout << typeid( x + y ).nam... (by vlad from moscow)
Issue with program to AutoSave excel in C++
 
Dear Gurus/Experts in C++, I am creating an automation tool, for that I have to autosave the exce...
[no replies]
by vw4x4
uses of type conversion?
 
1) what are the uses of type conversion? 2)what are the uses of forcing data types to be stored as ...
[1 reply] : 3. Because hex notation is typically used with bitwise operations. Bit... (by helios)
by ycai77
template programming problem
 
I encountered a problem where the template function defined in a separate file couldn't be found by ...
[1 reply] : Back in 98, there used to be a keyword in the standard that let you de... (by helios)
Binary Trees and Linked Lists
 
Hi, I've been trying for quite a while now to solve this problem sheet but I can't seem to get an...
[2 replies] Last: It's the last two questions, the combination of Trees and Lists (by clc0608)
C++11 - Using move semantics in a for loop?
 
Hi, there! Yes, you read the title correctly. But why, you may ask now. Well, allow me to demonstra...
[5 replies] Last: Thank you for the replies! I didn't come to think of it that compilers... (by Henri Korpela)
String Manipulation Problem
 
Question: After dinner at a Chinese restaurant, Batman and Robin had a fortune cookie each. Both ...
[2 replies] Last: thanks alot man. thats a really smart way of doing it. (by james16)
C/C++ compiler app, Nokia?
 
I have a Nokia N8, and want to be able to whrite and compile C++ 'on-the-go'. Does anyone know of an...
[2 replies] Last: Both codepad.org and ideone.com is what I'm looking for, a debug and c... (by Hashimatsu)
Program that finds the surface area of moon.
 
#include "stdafx.h" #include <iostream> #include <iomanip> #include <cmath> using namespace st...
[1 reply] : @kajondra Very impressive. Can you convert that to square miles? Also... (by whitenite1)
incomplete type is not allowed error
 
so this is the only error i have in my code but i cant figure out how to fix it, here is the code be...
[3 replies] Last: What is the content of "date.h"? A am sorry. Please show anew your tes... (by vlad from moscow)
Question regarding Multiplatform (Linux AND Windows)
 
Hi, I have to create an application which can be executed in Linux and Windows. My question is : ...
[1 reply] : 1. Yes. It can be hard to make executables that works on all Linux dis... (by Peter87)
September 2012 Pages: 1... 2829303132
  Archived months: [aug2012] [oct2012]

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