Positions still available in the South of France. deadline for applications : 15th of June 2007


- Fluent English (dont need to speak french), any country welcome. - Experience in C, C++, Java, Unix,Oracle and SQL,UML modeling / Rose (school project ok or professional experience) or Experience in PHP, MySQL, C, C++, Linux, Ajax, web 2.0 ...
Posted On: Monday 26th of November 2012 12:47:10 AM Total Views:  329
View Complete with Replies

RELATED TOPICS OF C Language PROGRAMMING LANGUAGE




still cannot generate a random number between 0 and 1

It was recommended that I try this: Code: double price = 30000 *rand() % 1; But that keeps giving me zero every time Am I missing something
VIEWS ON THIS POST

341

Posted on:

Sunday 30th September 2012
View Replies!

pointer to function, sorting algorithm done but still parts unclear

I have this sorting algorithm using pointers to function. Yet, there is one part that I dont see how it works.(See UPDATE below if you want to see how I found my dumb missing understanding). When in the main () function there is a call to function 'ordenamiento' (sorting) and this function in turn contains a call to another function (comparacion), the pointer that receives that call to that 'comparacion' where does it actually get the values that it sends to function 'comparacion' so that this can compare if value1 is bigger than value 2. (and return either 1 or -1) I dont see anywhere it picks them from anywhere. see here Code: void Ordenamiento (int (*funcion)(int , int), int *Vector,int maximo) I dont see those int, int getting their values from anywhere so that they are being used by function 'comparacion' that the pointer *funcion points to. (Aside from the fact that I havent seen any assignment that links the pointer to function *funcion to any address, and that is something that has to happen before.
VIEWS ON THIS POST

198

Posted on:

Thursday 18th October 2012
View Replies!

Inlined Function still a function call w.r.t. Sequence points?

Consider the following program: include class Bar { public: int getData9() { m_data = 9; return m_data;} int getData11() { m_data = 11; return m_data;} int m_data; }; int main() { Bar f; int a = f.getData11() f.getData9(); std::cout
VIEWS ON THIS POST

162

Posted on:

Saturday 3rd November 2012
View Replies!

Is comp.std.c++ still operable ?

I have not seen any new messages in comp.std.c++ in over 3 weeks. Is it still in operation or has it been disbanded Perhaps the moderators are away on some C++ standard committe meeting and are not moderating any posts. Or perhaps, much more unlikely, no one has anything to say about the C++ standard there anymore. -- [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ]
VIEWS ON THIS POST

205

Posted on:

Saturday 3rd November 2012
View Replies!

Is default behavior still desired in this case?

Previously I've suggested permitting some modification to the default behaviour wrt to exceptions thrown in a constructor. http://preview.tinyurl.com/278u77 My guess is the default behaviour was decided when networking was less prevalent and should be reconsidered now. I'm not sure if the syntax/mechanism I suggested is good. If you have class Base { ...}; class Inter : public Base { ...}; class Derived : public Inter { ... }; and Base* b = new (preserve) Derived(...); and an exception comes from Derived's constructor, b would be set to the Inter object since that much was built successfully. I'm not sure if/how the syntax would fit in with placement new. The rationale for preserving a base object is because the sender, network and receiver have invested quite a bit in getting to the point of having an Inter. Throwing everything away doesn't make sense to me. Brian Wood Ebenezer Enterprises www.webebenezer.net
VIEWS ON THIS POST

307

Posted on:

Sunday 4th November 2012
View Replies!

Do exception classes still need no-fail copy constructors, in C++0x?

In article , noreply@this.is.invalid (Niels Dekker - no return address) wrote: > When writing a custom exception class in C++03, it's recommended to have > its copy constructor supporting the no-fail guarantee, to prevent the > exception handling mechanism from calling std::terminate(). [E.g., Herb > Sutter & Andrei Alexandrescu - C++ Coding Standards, item 32] Is that > recommendation still relevant in C++0x I got the impressing that in > C++0x, it's good enough to just make sure that the exception class has a > non-failing move constructor. > > Should an STL implementation still take care of proving non-failing copy > constructors for exception classes like std::runtime_error, in C++0x > Or would it be sufficient to provide non-failing move constructors for > these classes The following program in conceptgcc: #include class A { A(const A&); A& operator=(const A&); public: A() {} A(A&&) {} }; void f() { A a; throw a; } int main() { try { f(); } catch (A&) { std::cout
VIEWS ON THIS POST

213

Posted on:

Monday 5th November 2012
View Replies!

get the input but still the input should remain

, I know the subject line gives a little idea about the problem. Well, I want to get the input ,and after taking the input, I AGAIN want to get the same input. For Eg., Suppose input is 23: ../a.out 23 Now, I want to get 23, then store it in a variable and then again want to get the same input, i.e., 23. string strInput; cin>> strInput; int intInput; cin>> intInput; Both of them should be 23, ie, I should be able to get the input even if I have already taken this input.
VIEWS ON THIS POST

188

Posted on:

Monday 5th November 2012
View Replies!

Class with member swap and std::swap specialization still not Swappable?

"Niels Dekker no reply address wrote: > Does the following class meet the Swappable requirement, according to > C++0x It has a public swap member function and a specialization of > std::swap. > > #include > > class Uncopyable > { > public: > Uncopyable() {} > void swap(Uncopyable &) {} > private: > Uncopyable(const Uncopyable &); > Uncopyable& operator=(const Uncopyable&); > }; > > namespace std > { > template > void swap(Uncopyable& lhs, Uncopyable & rhs) > { > lhs.swap(rhs); > } > } > > If I understand the Draft well, this class is not Swappable. Which > sounds rather counter-intuitive to me! > http://www.open-std.org/jtc1/sc22/wg...2005/n1905.pdf > > Wouldn't it better to include any T as being Swappable for which the > following lines are valid, and have the right semantics > using std::swap; > swap(t, u); // t and u are values of type T No, the second line all by itself should be valid: swap( t, u ); which is not the case in the above program. Because swap() has been defined in the std namespace, it will not be found when passed arguments of a class (Uncopyable) that has been declared in the global namespace. The fix therefore is to declare swap() in the same namespace as the one in which Uncopyable is declared - whether that namespace is, as in this case, the global namespace, or whether it is some other namespace that the program has declared: void swap(Uncopyable& lhs, Uncopyable & rhs) { lhs.swap(rhs); } Greg --- [ comp.std.c++ is moderated. To submit articles, try just posting with ] [ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://www.comeaucomputing.com/csc/faq.html ]
VIEWS ON THIS POST

151

Posted on:

Monday 5th November 2012
View Replies!

2006-09 pre-Portland mailing available, and core and library issues lists

The 2006-09 pre-Portland mailing, and the Core WG issues list R43, and Library WG issues list R44 are now available from the WG21 web site at http://www.open-std.org/jtc1/sc22/wg21/ Best regards Keld --- [ comp.std.c++ is moderated. To submit articles, try just posting with ] [ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://www.comeaucomputing.com/csc/faq.html ]
VIEWS ON THIS POST

311

Posted on:

Monday 5th November 2012
View Replies!

The pre San Francisco mailing and the core and library issues listsavailable

The pre San Francisco mailing and the core and library issues lists in updated versions are now available from http://www.open-std.org/jtc1/sc22/wg21/ best regards Keld Simonsen
VIEWS ON THIS POST

233

Posted on:

Wednesday 7th November 2012
View Replies!

stack available

Im generating asm code of manually on a point of my program (Borland C++ Builder 6) and calling it with a help of an function pointer. Im allocating space for the asm program with "MyGlobaloc(GMEM_FIXED, ..". The asm program consists 1-2 simple function with its stack using. Each function has a stack frame like this 0003 push EBP 0004 mov EBP, ESP 0005 sub ESP, 0x00006000 ; stack entry 0006 0007 0030 0031 0032 0033 ; stack_leave 0034 mov ESP, EBP 0035 pop EBP 0036 ret And there is a call for an other manually generated function in "code part". I found that and that is the problem, the stack entry can be very small (1-2KB), when I try to increase the local stack using with "sub esp, 0xc000" for example at the top of stack entry, the first push causes error (access violation), it seems I can use a very small stack (1-2KB). Why There is no recursion.
VIEWS ON THIS POST

128

Posted on:

Wednesday 7th November 2012
View Replies!

No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called

I trying to compile the following .cpp file but i m getting the below mentioned compile error. Can anyone help me out to resolve this error **************************************************************************** #include #include #include #include #include #include int main() { using namespace std; string from, to; cin >> from >> to; ifstream is(from.c_str()); istream_iterator ii(is); istream_iterator eos; vector v(ii, eos); sort(v.begin(), v.end()); ofstream os(to.c_str()); ostream_iterator oi(os,"\n"); unique_copy(v.begin(), v.end(), oi); return !is.eof() && !os; //return; } ************************************************************************************************8 Compiling... containIter.cpp C:\SatishK\Works-Diebold\VC++6.0-Workspace\CC++TestProg\CCplusTestProg\containIter\containIter.cpp(30) : error C2664: '__thiscall std::vector::std::vector(unsigned int,const class std::basic_string &,const class std::allocator &)' : cannot convert parameter 1 from 'class std::istream_iterator' to 'unsigned int' No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called Error executing cl.exe. containIter.obj - 1 error(s), 0 warning(s)
VIEWS ON THIS POST

201

Posted on:

Wednesday 7th November 2012
View Replies!

WG21 2006-06 mailing available

The WG21 2006-06 mailing is now available from the C++ STD committee website at http://www.open-std.org/jtc1/sc22/wg21 Best regards Keld Simonsen --- [ comp.std.c++ is moderated. To submit articles, try just posting with ] [ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://www.comeaucomputing.com/csc/faq.html ]
VIEWS ON THIS POST

206

Posted on:

Wednesday 7th November 2012
View Replies!

C++ std mailing 2007-01 available

The 2007-01 mailing and the core issues list rev 45 plus the library issues list rev 46 are now available from the WG21 web site at http://open-std.org/jtc1/sc22/wg21/ Best regards Keld Simonsen --- [ comp.std.c++ is moderated. To submit articles, try just posting with ] [ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://www.comeaucomputing.com/csc/faq.html ]
VIEWS ON THIS POST

146

Posted on:

Wednesday 7th November 2012
View Replies!

our brands all sony...all LG....all NOKIA...all ipod....all GPS..,are also available for sale at cheaper rate. They are all brand new withfull accessories and 1 year international warranty, unlocked, work effectivelywith any network worldwide and com

hi We are the most professional with the biggest wholesale electronics merchandise supply merchandise ...........We have a lot of very nice quality merchandises with the very special price our brands all sony...all LG....all NOKIA...all ipod....all GPS ..,are also available for ...
VIEWS ON THIS POST

185

Posted on:

Sunday 11th November 2012
View Replies!

comp.std.c++ still down?

Sorry if this is deemed offtopic, but looks like sibling group comp.std.c++ is down from about the beginning of 2008. I've read previous posts here in clc++m reporting about some technical problem with the group, but this was more than ...
VIEWS ON THIS POST

121

Posted on:

Sunday 11th November 2012
View Replies!

Post-Kona mailing plus core and library issues lists available

Now available at http://open-std.org/jtc1/sc22/wg21 Post-Kona 2007 mailing Core issues list rev 51 Library issues list rev 52 Best regards Keld Simonsen --- [ comp.std.c++ is moderated. To submit articles, try just posting with ] [ your news-reader. If that fails, ...
VIEWS ON THIS POST

295

Posted on:

Sunday 11th November 2012
View Replies!

May I have a example of design pattern of "composite", I still feel fuzzy after reading book of Addison-Wesley's"design pattern "

Thank you for your kind & help !...
VIEWS ON THIS POST

199

Posted on:

Sunday 11th November 2012
View Replies!

Positions still available in the South of France. deadline for applications : 15th of June 2007

- Fluent English (dont need to speak french), any country welcome. - Experience in C, C++, Java, Unix,Oracle and SQL,UML modeling / Rose (school project ok or professional experience) or Experience in PHP, MySQL, C, C++, Linux, Ajax, web 2.0 ...
VIEWS ON THIS POST

119

Posted on:

Monday 12th November 2012
View Replies!