General C++ Programming - November 2012 (Page 20)

Counting Letter and Word Occurences
 
I have a project due soon (which I usually begin very early), however I was unable to. I know this is last minute, but just seeing if anyone out there can hel...
[2 replies] Last: Use dynamic memory to store each new word, and have a respective count... (by closed account 9y8C5Di1)
native win32 console application
 
i want to insert date in native win 32 console application ..is their any date function present in it?if it then tell me method to use to make atrial version .a...
[13 replies] Last: #include <windows.h> System_Log(char * szLogFile,const char *szForma... (by Imadatobanisa)
Print to file...
 
#include <iostream> #include <fstream> #include <time.h> using namespace std; int main() { srand(clock()); ofstream fout("test.txt"); int byte; ...
[19 replies] Last: Perhaps ofstream still has some remaining errors that haven't been fi... (by Imadatobanisa)
Trouble making priority Ques in C++
 
I am trying to make priority ques in this way , everything is going fine except for the priority assigning , i have made a function named assignPriority(); to s...
[no replies]
by begC99
Input from file errors. Please help!
 
Class assignment (that I can no longer get credit for, but this is bugging me) takes input from a txt file, outputs to screen Artist Name, Artist Album, and ave...
[2 replies] Last: Thanks SamuelAdams but I finally figured it out. (by begC99)
by Owe
Combinations(Link list, Template, struct stack, quee, recursion
 
Hi guys ! I am doing a project for my class, and these are the requirements of the project. ----------------------------- 1. Link List 2. Templates 3. Stru...
[2 replies] Last: thank u xerzi for replying' i already start doing something with the ... (by Owe)
Terminating a function called by another function
 
Say I have this function which is to be called by another function. This function goes on and on. How can I terminate this function from the calling function....
[10 replies] Last: Thanks again to you all. I was able to implement it in my code. (by jrfrago)
Hash table
 
please, can any person help me in this topic 1) Implement a class called HashTableChained, a hash table with chaining. HashTableChained implements an int...
[1 reply] : We won't do work for you, but we can help you. Try to do the work you... (by LB)
adding positions of 3 arrays
 
thank you
[7 replies] Last: int findlargesmallrange (int numb , int num, int &largest, int &smal... (by bainofmyexistance)
Winsock recv();
 
Im making a little rat program for myself. I can not get the server to accept commands.(recv function). I know the client works. Here is my code for the ser...
[15 replies] Last: thx thumper sovled the problem iwth zero memory fuction (by terryeverlast)
Input arg. as name of object
 
I'm trying to have a function take in a couple arguments, the last of which (an int) I want to convert to ASCII and use the character as the name of an object. ...
[14 replies] Last: I'm glad I got that about right. You said: I hadn't thought that th... (by closed account D80DSL3A)
Make Boost Include and Lib directories Visible?
 
I'm trying to build PODOFO (PDF Library, open source) and Boost is one of it's dependencies. I am having a great deal of trouble getting the compiler to see...
[no replies]
Simple C/C++ doubts
 
1. Which variables are the most fast to perform actions? Global variables or local variable? Why? Are static variables fast than auto? Why? Are dynamic varia...
[13 replies] Last: @Cubbi: Probably, my test description wasn't clear. Anyway, I just lef... (by infoartenovo)
Unable to compile C lib of FatFS with C++ Project
 
Is there a C++ version of the FatFS library? I am trying to incorporate fatfs into a cpp project and I havent been able to compile the project even though I ...
[1 reply] : Unable to compile C lib of FatFS with C++ Project Could you be a li... (by cire)
native win 32 console application
 
i want to insert date in native win 32 console application ..is their any date function present in it?if it then tell me method to use to make atrial version .a...
[6 replies] Last: thnx friends i m suceede i chose release version then a release folder... (by muddaser)
some small problems
 
1. pure virtual: // base class Worker, class Waiter, Singer Waiter w_temp; Singer s_temp; Worker* pw = {&w_temp, &s_temp }; pw->Show(); // assume Show() is...
[1 reply] : 1 no idea what your worker function looks like 2 no idea what you are ... (by Darkmaster)
Need to adapt a very small code to visual C++ 6.0.
 
Hi, I need to convert the cpp code that I wrote in visual studio 2010 to visual C++ 6.0. However, I am getting errors. I need to do this as I am designing some ...
[13 replies] Last: Thanks, I am so stupid. (by dkumar3)
The culprit
 
Hi What'ws the error culprit of: void test(int const & x) { x=4; } main(){ test(4); } 2hat does a const& mean in the fist place?...
[8 replies] Last: A reference (&) can be set only once: at initialization. more const is... (by coder777)
Vector
 
Hi for some reason this crashes for me struct Struct { char* NAME; int OBJ; }; std::vector<Struct> Logged; for(int i = 0; i < 50; i++){ Logged .N...
[7 replies] Last: a named object sounds like something a map could deal with (by coder777)
Simple program to calculate receipts
 
hi guyz, i'm new to this forum and new to c++, well programming in general, i've started to learn c++ nearly 2 mounths ago. So far i'm haveing so much fun and i...
[5 replies] Last: I've took your advises and guidlines guyz and made new version of calc... (by IronmanCro)
November 2012 Pages: 1... 1819202122... 51
  Archived months: [oct2012] [dec2012]

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