General C++ Programming - March 2014 (Page 25)

Method? How to abstract method?
 
I am writing some Finite Element Analysis code, I created some classes like the mesh, cell, element, etc. And then the finite element analysis is based on these...
[2 replies] Last: Might be some relevant stuff here as well: http://www.dreamincode.net/... (by mutexe)
Presentation topics on Android (urgent)
 
Hello guys, I am sorry for posting wrong question here but i have a class presentation on Android and i cannot find something good to talk about. Can you guys...
[no replies]
by AceK
Client/Server or Serverless App?
 
Hi everyone, my brother runs a loan shark business and he has asked me to create software for him to efficiently run his business. Basically the software is sup...
[3 replies] Last: Yes, it is actually file based. Only if you observe some speed issues... (by coder777)
need some help with chat program
 
well actually, the chat program doesn't even exists... I was interested in making a little chat program in either basic C++ or windows. However, I have no id...
[1 reply] : Have 1 pc host a chat session. Allow another PC to connect to the cha... (by kbw)
Need help with classes
 
hey guys so i had an assignment where i had to write a program in a class. I didn't understand it so i turned it in using functions. I have a test coming up and...
[1 reply] : Look here for help http://www.cplusplus.com/doc/tutorial/classes/ (by codewalker)
by mogha
libxml
 
Hi, i am using libxml library to parser a xml file. when i parse xml file in which tags are separated by new line and try to fetch the next tag its next call ...
[1 reply] : I dont know specifically, but check if libxml can support UTF8 charact... (by codewalker)
I know what i want to do, i just don't know how to tell my computer to do it.
 
Hello i am trying to complete an assignment and am having a bit of trouble. I have to write a program that ill show how much of a child tax credit certain house...
[9 replies] Last: You forgot == in letter 'U' It should work after that. why woul... (by MiiNiPaa)
by hal
How to allocate a huge amount of memory
 
Deal all, I’m writing an application for raw image processing but I cannot allocate the necessary block of memory, the following simple code gives me an allo...
[2 replies] Last: Thanks a lot for your help, you are right, with only 4Gb of memory I d... (by hal)
Using semaphores instead of waiting..multithreading
 
he example creates 1 to t threads with each thread pointing to the next and the last thread pointing to the first thread. This program allows each thread to seq...
[2 replies] Last: Someone please help. Thanks in advance. (by venkatacplpl)
Help with Function that makes Shows time entered in Clock format
 
Program should continually have user enter a positive integer, and quits on zero entered. This entered number represents the total number of seconds and after e...
[6 replies] Last: ah i see. well then maybe some humor added. if( seconds > 0 ) {prin... (by Noob Programmer)
help im trying to design a profram that models a simple calculator but is getting error messages that i dont understand
 
#include<iostream> #include<cmath> using namespace std; void computeResult(float, float, char); int main() { char operation,q; if(operation!=...
[2 replies] Last: when putting code here do this... "["code"]" paste your code here "[... (by Noob Programmer)
by csharp
Please read my thread, need help
 
Hello, I am writing a program in C++ using VS 2010 the program should do the following "1-prompt the user to input a lower case letter 2-try to input...
[11 replies] Last: Anyway guys thanks for any help (by csharp)
by dnulho
Building a destructor that outputs data before destroying it
 
I am trying to build a destructor that takes an array pointer and outputs part of a private vector and, comparing a string within the objects, overwrites the da...
[6 replies] Last: Sorry about the delay, RL demanded my attention for the last couple da... (by dnulho)
rand() generating segmentation fault
 
Why would this code produce segmentation fault : /* #include<iostream> #include <stdlib.h> #include <ctime> using namespace std; int main() { int i=0; sran...
[4 replies] Last: Silly me... Thanks EssGeEich .. (by binarylife)
use a recursive algorithm to determine if a number is in the 2D array of random integers
 
So i have printed out a 9X9 2D array filled with random integers. my next step is check if numbers that are provided from an input file are in my 2D array. Th...
[2 replies] Last: sorry you are right, silly error, corrected that, also i know its not... (by number001)
IMAGE_EXPORT_DIRECTORY help
 
Hi need some help with this code why does this crash #ifdef _WIN64 TCHAR buf ; GetSystemWow64Directory(buf, MAX_PATH); strcat_s(buf, "\\kernel32.dl...
[no replies]
by dreyes
Should be very easy to fix.
 
I have a program created in Visual Studio 2010. (I am a 10th Grade student at a technical school) The problem with my program is that when it displays averag...
[1 reply] : total_pins is an integer. When you divide an integer with an integer,... (by xismn)
write a recursive function called sumover
 
write a recursive function called sumover that has one argument n which is an unsigned integer. the function returns double value which is the sum of reciproc...
[11 replies] Last: thank you all :)) (by jay7390)
by bads
anyone help how to increase speed in this line
 
for example in tetris when you clear 20 lines the speedrate of the falling piece will increase how can i do it in my program line here void DoLogic(int dt...
[4 replies] Last: btw thanks for the motives :)) ok can you teach me the x and y thing t... (by bads)
Non-contiguous Struct
 
So... let's say I have about 1200 exported boolean variables in global space and I'd like to put them in a struct and export the struct instead in a more thread...
[2 replies] Last: Well, it's just a hypothetical situation.... the realistic situation h... (by NoXzema)
March 2014 Pages: 1... 2324252627... 36
  Archived months: [feb2014] [apr2014]

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