General C++ Programming - October 2009 (Page 13)

Few qestions.......
 
1.Can a 64-bit OS tell whether a given EXE file is a 32-bit program or a 64-bit program and run it c...
[17 replies] Last: I'm not 'sure' about what it does, but I have read it at several sourc... (by closed account z05DSL3A)
Need suggestions on organizing code files.
 
So I'm getting to a point in my project that the depth of the 'code' folder can go about 5+ folders ...
[6 replies] Last: I had kept them in a single folder for all the top level stuff. Well ... (by AlwaysLearning)
by hsash
Applying 'Marching Cubes' algorithm to DICOM
 
hi all, i would really appreciate any guidance and help in this. basically i need to open a se...
[2 replies] Last: How do you plan to threshhold? And what does the data look like after ... (by turbozedd)
by CD4
doubt with structures and pointers..
 
#include<stdio.h> # include<stdlib.h> struct manager { char name ; int age; int salary; }bi...
[1 reply] : You are redeclaring manager *p multiple times within the switch. You ... (by jRaskell)
reading binary file problem
 
The problem is that it is reading the records more than what is written and keeps repeating them aga...
[3 replies] Last: Use while(stream) rather than while(!stream.eof()) ... (by kbw)
Problem In Syntax Porting my code from Borland C++ to VC++ 6.0
 
Hi I am having problem in porting my code from borland C++ to visual C++ 6.0 As i understand there ...
[1 reply] : Wrong. C does not have a distinct Boolean type, logical expressions... (by kbw)
How do I friend the class within a namespace?
 
//class groups::BaseGroup; class Base{ public: //friend class groups::BaseGroup; private...
[3 replies] Last: cool thanks, that worked. (by AlwaysLearning)
updname() cant execute
 
i have problems with executing my updname();, can u guys help me check errors? its already running b...
[2 replies] Last: Prompt the user for the number of consultants for each consultant, ... (by icko718)
AVL tree insert not working
 
deleted
[no replies]
by mar11
structure
 
Hi all, if i have the following code: struct test{ bool v0; bool v1; bool v2; bool ...
[3 replies] Last: Use a std::bitset, or use unsigned ints and bitmasks instead of bools.... (by PanGalactic)
by alias
Change Machine Code
 
I'm writing a code for a change machine, in which the user input the cost of their purchase, then th...
[1 reply] : Say you have $3.52 in change that needs to be returned. Easiest way ... (by jRaskell)
Clarify on these questions, please?
 
I came up with a couple of questions to check that I know about pointers and memory allocation and w...
[14 replies] Last: Ok, thanks :) http://linux.die.net/man/2/ptrace That looks do-ab... (by chrisname)
by fares
Answer this c++ Q i have a exam?
 
write a program to add two large integers with up to 300 digits one approcah is to treat each number...
[10 replies] Last: Okay; when I make an array; how will I put every 3 digit block in the... (by chrisname)
C++ problem using quadratics
 
Exercise 5: Two roots of the quadratic equation is calculated by using the formula: Where a, ...
[1 reply] : Where exactly in your code are you having problems? (by Zhuge)
resize
 
Hi, If anyone can help me.I got problem with image size when i want to combine surf in my progra...
[1 reply] : I suggest that you format your code properly (no tabs) and then paste ... (by kempofighter)
solution to error C2593: 'operator *' is ambiguous"
 
My C++ program as follows : # include "iostream.h" # include "stdlib.h" class CMatrix { ...
[1 reply] : You did not overload operator* for the matrix class. I recommend that... (by kempofighter)
sorting string array with bubble sort
 
Ok, well, the 1st line of code basically explains what it does ( 500 worst passwords). I'm doing a l...
[2 replies] Last: Thanks... works fine. (by ansline6788)
by heyyo
Function pointers in class scope: Problem!
 
I have a problem: I write a class. There is a function, member of this class. There is anot...
[3 replies] Last: Thanks Abramus and Dennis. My mistake was at the 18th line. (by heyyo)
convert/cast a reverse_iterator to an iterator
 
Is it possible to convert a reverse_operator from a std::list to a "normal" iterator? All my trials ...
[2 replies] Last: Thank you for your reply. I finally expected something like that. Too... (by blueshark)
C - Char Array problem
 
I have to design a program that converts any base from 3 - 36 to binary. The problem I am having is...
[4 replies] Last: I feel dumb Don't worry about it dude. We've all done it. :-] ... (by kevinchkin)
October 2009 Pages: 1... 1112131415... 17
  Archived months: [sep2009] [nov2009]

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