| |
thread by: Allerdyce.John |
last post Feb 22 '06 by: Clem.Dickey
I have a a stl map which use stl pair as the key
class A;
type map< pair<int, int>, A> MyMap;
if I have function which add entry to the map:
void func(int x, int y, MyMap& map, A& a) {
pair<int, int> key(x, y);
map = a;
|
thread by: waitan |
last post Feb 22 '06 by: Zara
#include <algorithm>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <sstream>
#include <iterator>
#include <iomanip>
using namespace std;
|
thread by: Rick |
last post Feb 22 '06 by: Jack Klein
In linux if you press alt+f1 Alt+f2 etc you get a different virtual screen
and can do so up to f6. Is it possible to write a program in c to do the
same in Dos? If so is it very difficult and what roughly is required.
Thanks Rick
|
thread by: sweety |
last post Feb 22 '06 by: Peter Nilsson
Dear All,
I need an urgent help on following.
How i can print the ® symbol in to the C file. I stored in a Wchar so,
how i can read or print this..
Quick response would be great !!! if possible provide in samples too..
Thanks,
Sweety
|
thread by: sweety |
last post Feb 22 '06 by: sweety
Dear All,
I need an urgent help on following.
How i can print the ® symbol in to the C file. I stored in a Wchar so,
how i can read or print this..
Quick response would be great !!! if possible provide in samples too..
Thanks,
Sweety
|
thread by: Steven T. Hatton |
last post Feb 21 '06 by: Dave (from the UK)
I am looking at the C++ MD5 implementation found on this site:
http://userpages.umbc.edu/~mabzug1/cs/md5/md5.html. I'm a bit unsure as to
the necessity and/or effect of the various casts appearing in the
following:
typedef unsigned int uint4;
uint4 count; // number of *bits*, mod 2^64
void MD5::update (uint1 *input, uint4...
|
thread by: ambreen_ssuet |
last post Feb 21 '06 by: Pedro Graca
hi!
ho0w do0 i enhanced my pro0grmming skills???????/
|
| |
thread by: Thomas Barth |
last post Feb 21 '06 by: Michael Wojcik
Hi,
I would like to create a file index like updatedb on Linux does as a
part of my program, but I dont know how long the filenames could be.
Therefore I want to use malloc to keep the size of the filenames
flexible. I would expect an segmentation fault with the following
sourcecode, when invoking strcat or sprintf to assign the first value...
|
thread by: mike |
last post Feb 21 '06 by: Victor Bazarov
hi all,
has "C++ Symphony" been ever published in English ?
cheers,
michal
|
thread by: mike |
last post Feb 21 '06 by: mike
hi all,
has "C++ Symphony" been ever published in English ?
cheers,
michal
|
thread by: ernie367 |
last post Feb 21 '06 by: Victor Bazarov
Do anyone know how can I do that the Borland C++ Builder 6 interface
(editor) recognizes accents, tildes like "á" (alt+160)???, my e-mail
is ernie367@hotmail.com or ernie367@gmail.com, I try with option and
registry settings, but it didn't work...
I appreciate any suggestion...
|
thread by: cpptutor2000 |
last post Feb 21 '06 by: Keith Thompson
Could some C guru help me please? I am using the following program to
open a SSH connection to a remote host and eventually run a program on
that remote host.
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char* argv){
char command;
|
thread by: Plissken.s |
last post Feb 21 '06 by: Plissken.s
I have a template function which print out the content of a list: The
following compiles:
void PrintInt2 (int i) {
cout << i << " ";
}
template <class T>
void printList(T& list) {
|
thread by: bmshirey |
last post Feb 21 '06 by: Victor Bazarov
I have a program which manages various log files of multiple
extensions. The program needs to delete files based on an age paramter
and a file number limit paramter. So if files are older than say a week
they get deleted, and if my max file number limit is 1000 and I have
1200, I delete 200 files, starting with the oldest. Findfirst and...
|
thread by: subaruwrx88011 |
last post Feb 21 '06 by: Victor Bazarov
I am new to c++. Here is my problem. When my application runs it
creates a log file for that day containing application specific
information. The file format is CCSI_2006_51.log with 2006 being the
year and 51 being the days since Jan 1st. If we run this application
again on the same day it will append to the file already created
earlier....
|
| |
thread by: Johannes Zellner |
last post Feb 21 '06 by: BobR
Hello,
Is it possible to have a preprocessor macro, which prints information
like the function name of the current context like
void SomeClass:some_member()
{
NIFTY_MACRO();
...
|
thread by: Alex Buell |
last post Feb 21 '06 by: Alex Buell
This is what I'm trying to compile with GCC 3.4.4 under Linux. The
error I'm getting is:
g++ -s -O3 -Wall class2.cc -o class2
class2.cc:25: error: template-id `uppercase<>' for `char
container<char>::uppercase()' does not match any template declaration
class2.cc:25: error: invalid function declaration make: ***
Error 1
What's...
|
thread by: mai |
last post Feb 21 '06 by: mai
where to download "C all-in-one desk reference", or any other book for "not beginners
--------------= Posted using GrabIt =----------------
------= Binary Usenet downloading made easy =---------
-= Get GrabIt for free from http://www.shemes.com/ =-
|
thread by: Linda |
last post Feb 21 '06 by: Default User
After I type "make" on the screen, I got the following result:
/usr/local/sunone/SUNWspro/bin/CC -xs -pto -PIC -xtarget=ultra
-xarch=v9 -DIL_STD -g -xs -DNDEBUG
-I/usr/local/ilog/solver60/include
-I/usr/local/ilog/solver60/../concert20/include
-I/usr/local/ilog/solver60/examples/include
/uac/rshr/xhji/Ilog/money.cpp -c...
|
thread by: utab |
last post Feb 21 '06 by: Mirek Fidler
Dear,
I have experince in C( numerical projects, like engineering problems,
scientific applications) I have the basic notion of C++ also, I have
read Accelerated C++ until Chapter 7, however it seems that it
discusses the std and the other part of the language with your own
abstractions. Is that better to read a book first on the basic...
|
thread by: Ciko |
last post Feb 21 '06 by: Eric Sosman
Still not clear to me: why whe use <stdio.h> I haven't link stdio
library (in linking stage) while if I use something of <math.h> I must
link this library? Thanks in advance.
|
thread by: cricketunes |
last post Feb 21 '06 by: serrand
Hey folks
I am implementing the Huffman encoding algorithm. I have created the
tree and its perfect.
Now while searching for a node value, I need to write a 0 to the
encoded file if I am moving left and 1 if I am moving right.
How will I know if I am moving left or right? For instance if I go to
the bottom of the left leaf and its...
|
thread by: darkchild50 |
last post Feb 21 '06 by: Grumble
is it possible to loop through all top level windows with
GetWindowEx(), and save all their handles in an array? i have been
trying this one for a while but it dosent seem to work i end up in a
never ending loop? anyone know how this works?
please and thank you DarkChild
|
| |
thread by: Soumyadip Rakshit |
last post Feb 21 '06 by: stevenj
Hi,
Could anyone direct me to a very good 1D DCT Implementation in C/C++
My data is in sets of 8 numbers.
Thanks a ton,
Soumyadip.
|
thread by: scythemk |
last post Feb 21 '06 by: Daniel T.
Hi,
I am writing a program that, everytime it executes, first loads all
information from a file into a linked list of nodes, using struct to
define it. After manipulating the data and receiving user input, the
program once again outputs the linked list information to the same
file. My problem is that when I'm first trying to get the info from...
|