| |
thread by: Shalini |
last post Nov 14 '05 by: Mark McIntyre
Hi all,
I was looking for a free C Compiler. Can you please help me out ??
I have Microsoft Visual Studio installed on my system. But I dont think
they have a C compiler.
Cheers,
Shalini
|
thread by: ben |
last post Nov 14 '05 by: dandelion
this programme from sedgewick's 'algorithms in c parts 1-4' "is a
sample client program that ... uses a symbol table to find the distinct
values in a sequence of keys (randomly generated or read from standard
input), then prints them out in sorted order."
#include <stdio.h>
#include <stdlib.h>
#include "item.h"
#include "st.h"
|
thread by: Arnaud Legrand |
last post Nov 14 '05 by: pete
Hello,
I have a question about portability and I have not found the answer in the
FAQ. I have different modules to build. All of them have the same private
part and a common public part (though the implementation in all cases may be
different). Note that I already have implemented a similar idea and that it
works pretty well with my gcc but...
|
thread by: Roman Mashak |
last post Nov 14 '05 by: CBFalconer
Hello, All!
I started to implement simple command line interface (CLI), and wanna
know how to use table of fucntion calls. Could you please, recommend me some
link or give example directly in conference?
Thanks in advance!
With best regards, Roman Mashak. E-mail: mrv@tusur.ru
|
thread by: andre.koskamp |
last post Nov 15 '05 by: Lawrence Kirby
Hello,
Is there a possibility to initiate an array with more types, say int's
and char's? I think it is possible to dynamically make a multi
dimensional array, and then typecast the return value of malloc()
function:
int **array = (int **)malloc(ROWS * sizeof(int *));
for(i = 0; i < ROWS; i++)
array = (int *)malloc(sizeof(int));
|
thread by: milkyway |
last post Nov 15 '05 by: Mark McIntyre
Hello,
I'm a newbie who hopes they have come to the correct place.
Basically, I want to develop a web service for consumption by .NET
program (hopefully C#). The performance of the service would have to be
able to be very fast in response and be somewhat reliable (i.e. not
abending every 2 or 3 minutes).
I was going to try to develop...
|
thread by: ashaniray |
last post Nov 27 '05 by: ashaniray
Hi,
The ISO-C++ spec says that the order of construction for C++ objects
is:
****************************************************************
....
Initialization shall proceed in the following order:
* First, and only for the constructor of the most derived class as
|
| |
thread by: ern |
last post Jan 20 '06 by: ern
I have a <char * Buffer> with the following data:
"
; This is a comment
preprocess:
play music ; comment
start:
|
thread by: amparikh |
last post Jan 27 '06 by: Victor Bazarov
I have something like this.
typedef enum TYPES{ X =0, Y,
Z,
MAX};
template <typename T>
class A
{
public:
|
thread by: uche |
last post Jun 19 '06 by: Mark P
I am tring to understand the purpose of b-trees and concept that drives
the construction of a b-tree. Are there alternatives to the b-tree? No
need to answer such a question if you don't like the conceptial aspects
of c ++ algorithms... :-)
|
thread by: Kamran |
last post Jul 29 '06 by: Alf P. Steinbach
Hi,
Having problem with boost and stuck.
I have the following:
std::map <std::string, boost::anybinaryHeader;
and somewere else I write:
---------------
binaryHeader.insert(make_pair("job", 0));
|
thread by: Chad |
last post Aug 30 '06 by: Keith Thompson
Given the following code
include <stdio.h>
#include <stdlib.h>
int main(void) {
char *msg_list = {" apple", " orange", " grape" };
printf("name: %s \n", msg_list);
|
thread by: jacuna |
last post Sep 17 '06 by: D_C
the ______ keyword is used in a fuction header to indicate that a function does not return a value or to indicate that a function cotains no parameters
|
thread by: Sheldon |
last post Oct 24 '06 by: Nick Keighley
Hi,
I am trying to make sense of this endian problem and so far, it is
still Greek to me.
I am have some files that have stored lat and lon data in binary
format. The data was originally floats (32) and written in with the
most significant byte in the lowest address (big endian). I have an
Intel processor and working in Mandrake. In...
|
thread by: sampandaran |
last post Nov 8 '06 by: sampandaran
Hey, I'm having some trouble with a program I'm trying to write and was hoping someone here could help me. Basically I have a dynamic 2D array of the 'Square' class and in the square class is the pointer 'item.' 'item' is a pointer of another class that I have called 'Inhabitant' and I have 3 derived classes off of 'Inhabitant.' I need to somehow...
|
| |
thread by: johntilster |
last post Feb 3 '07 by: Kai-Uwe Bux
How do I get uniform random numbers in the log domain? I need a random
number in the log domain between -infinity and -0.69314718, which is
equivalent to a range from 0 to 0.5.
I usually use this code to get a uniform random number between, say, 0
and 0.5:
double r = lowest + range * rand() / (RAND_MAX + 1.0);
But it won't work in the...
|
thread by: alcool |
last post Sep 13 '07 by: Ian Collins
Hi,
I would like use a socket for write a file jpeg on the network.
In others words, it is possible to publish
a jpeg (like a streamer) that a client can fetch and view?
file JPEG -socket that publish this file on the network -client
(browser) fetch this file and show
I.E. I think that firefox show a file jpeg also if this change...
|
thread by: ssdhavalikar |
last post Oct 25 '07 by: ssdhavalikar
In debug mode I am not able to trace the integers. The code is given below:
int m = 10;
float H = 1.90;
printf("%d %f\n",m,H);
...
...
In debug watch window, the value shown for m is ' 0x00000064 ' and for H is 1.900000. But on screen both the values turn out to be correct. This is the case with rest of the integers in the code.
What...
|
thread by: mitchy102 |
last post Jan 23 '08 by: Ganon11
//FILE: StkFigMn.cpp
//DRAW A STICK FIGURE (Main function only)
#include <iostream>
using namespace std;
//Functions used...
//DRAW A CIRCLE
void draw_circle ();
|
thread by: curls8 |
last post Jul 18 '08 by: curls8
I am thinking of doing a project along with learning more about c++. I plan on making a Meal Planner program. I have seen a few but they look like they were down in Visual Basics though they were written in c++. So my question is if I want my program to be user friendly in the end like those how do I go about it? Can I program it first then add...
|
thread by: kartik21 |
last post Aug 9 '08 by: donbock
what is the difference between C and C++ Compiler...i don't think there is any difference but if it has please tell me...
|
thread by: raashid bhatt |
last post Sep 1 '08 by: Richard Heathfield
what is the diffrence between
typedef void (__cdecl *PyClean)(void);
void (__cdecl *PyClean)(void);
|
thread by: pushpakulkar |
last post Oct 16 '08 by: Bartc
Hi all,
Many users claim that malloc() and free() provided by the language
library results in considerable
amount of overhead in terms of calling the same. Can we really
eliminate overhead by using
used defined functions/user defined memory manager. Is there any
significant advantage in providing user defined malloc() and free(). I
want...
|
| |
thread by: suzanne fearne |
last post Aug 2 '10 by: Banfa
I am running XPHome and have received error message unhandled exception @ 012D1040. In order for me to delete registry what software does this apply to. I need to have info on where I will find this in regedit.
Thanks
|
thread by: pfsi |
last post Jul 19 '05 by: Ron Natalie
main.cpp
1: typedef struct A {
2: int x;
3: }A_t;
4:
5: int main() {
6: A_t *a;
7: a = &(A_t());
8: return 0;
9: }
|