473,545 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Latest Bytes Forum

Support forums for various IT topics. Programming languages, databases, systems, applications and more. Subscribe to a community, participate, ask, share your expertise and network.
 
156
7,472
thread by: jacob navia | last post Nov 14 '05 by: James Dow Allen
There is a C tutorial at http://www.cs.virginia.edu/~lcc-win32 It is written to go with the compiler, available at the same URL. I have added quite a bit of material, and I would be glad if people in this group give it a try and tell me if I am saying nonsense somewhere. Beware that I am not very orthodox, hence my tutorial
156
5,746
thread by: Dennis | last post Nov 21 '05 by: Michael C#
Ok, I'm trying to dispose of every object that I create that has a dispose method based on advice from this newsgroup. However, I'm not sure how to dispose of the following object that was created inside a method call. dim myvar as new object1 object1.dosomethingmethod(new object2) Note that object 2 has a dispose method but how do I...
156
5,704
thread by: Lame Duck | last post Jun 14 '07 by: ¬a\\/b
Hi Group! I have a vector<floatvariable that I need to pass to a function, but the function takes a float * arguement. That's OK, I can convert by doing &MyVector.front(), but when I get back a float * from the function, how to convert that back to a vector? Thanks in advance!
156
3,749
thread by: jacob navia | last post Jul 3 '08 by: Richard Bos
Dear pedantic user What is a pedant? According to dictionary.com you are: 1. a person who makes an excessive or inappropriate display of learning. 2. a person who overemphasizes rules or minor details. 3. a person who adheres rigidly to book knowledge without regard to common sense.
153
2,096
Savage
thread by: Savage | last post Jul 27 '08 by: Nepomuk
Post a word and lets see what kind of sentence can we come with. I'll start: Cow
152
5,896
thread by: Alan Silver | last post Mar 4 '06 by: Barbara de Zoete
Hello, Just wondered what range of browsers, versions and OSs people are using to test pages. Also, since I don't have access to a Mac, will I have problems not being able to test on any Mac browsers, or is there some other way of checking? TIA --
152
9,743
thread by: vippstar | last post Oct 9 '08 by: Tim Rentsch
The subject might be misleading. Regardless, is this code valid: #include <stdio.h> void f(double *p, size_t size) { while(size--) printf("%f\n", *p++); } int main(void) { double array = { { 3.14 }, { 42.6 } }; f((double *)array, sizeof array / sizeof **array); return 0;
151
5,835
thread by: David Pendrey | last post Nov 21 '05 by: Jim Hubbard
I was wondering if it is at all posible to write a stand alone .EXE program in Visual Studio .NET. Hopefully in VB.NET but if not another language would be ok. Thanks for the assistance
151
4,101
thread by: cj | last post Oct 4 '08 by: Howard Swope
I don't want to start a war but why would I choose one over the other? First and foremost I need to keep in mind marketability of the skill and the future of the language. I'm getting the feeling I'll be moving from VB to one or the other. I have some say on which but perhaps not the final decision. I have used C and C++ a little bit...
151
7,937
thread by: istillshine | last post Aug 1 '08 by: CBFalconer
There are many languages around: C++, JAVA, PASCAL, and so on. I tried to learn C++ and JAVA, but ended up criticizing them. Is it because C was my first programming language? I like C because, comparatively, it is small, efficient, and able to handle large and complex tasks. I could not understand why people are using and talking about...
151
4,291
thread by: Daniel | last post Jul 28 '08 by: Ben Voigt [C++ MVP]
If I haven't made substantial investment in either C++ or C#, which language would the experts recommend I become well acquainted with? Daniel
151
5,001
thread by: Daniel | last post Jul 28 '08 by: Ben Voigt [C++ MVP]
If I haven't made substantial investment in either C++ or C#, which language would the experts recommend I become well acquainted with? Daniel
150
6,404
thread by: tony | last post Jan 6 '06 by: Tony Marston
If you have any PHP scripts which will not work in the current releases due to breaks in backwards compatibility then take a look at http://www.tonymarston.net/php-mysql/bc-is-everything.html and see if you agree with my opinion or not. Tony Marston http://www.tonymarston.net
149
24,983
thread by: Christopher Benson-Manica | last post Nov 15 '05 by: Douglas A. Gwyn
(Followups set to comp.std.c. Apologies if the crosspost is unwelcome.) strchr() is to strrchr() as strstr() is to strrstr(), but strrstr() isn't part of the standard. Why not? -- Christopher Benson-Manica | I *should* know what I'm talking about - if I ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
149
4,138
thread by: jacob navia | last post Jan 11 '07 by: Richard Tobin
As a consequence of a heavy discussion in another thread, I wrote this program: #include <stdlib.h> int main(void) { char *p=calloc(65521,65552); if (p) printf("BUG!!!!\n"); }
149
3,286
thread by: cj | last post Oct 4 '08 by: Howard Swope
I don't want to start a war but why would I choose one over the other? First and foremost I need to keep in mind marketability of the skill and the future of the language. I'm getting the feeling I'll be moving from VB to one or the other. I have some say on which but perhaps not the final decision. I have used C and C++ a little bit...
148
5,417
thread by: onkar | last post Dec 18 '06 by: Dave Thompson
Given the following code & variable i . int main(int argc,char **argv){ int i; printf("%d\n",i); return 0; } here i is allocated from bss or stack ?
148
5,044
thread by: BillJosephson | last post Jan 27 '07 by: peter koch
Want to do OOP. Does c++ have all the abilities of java, or is it some subset? Thanks...
147
7,610
thread by: Sateesh | last post Jul 18 '05 by: Jacek Generowicz
Hi, I am a beginner in Python, and am wondering what is it about the indentation in Python, without which python scripts do not work properly. Why can't the indentation not so strict so as to give better freedom to the user? Is there any plausible reason behind this? Cheers! Sateesh
147
10,021
thread by: Michael B Allen | last post Nov 15 '05 by: pete
Should there be any preference between the following logically equivalent statements? while (1) { vs. for ( ;; ) { I suspect the answer is "no" but I'd like to know what the consensus is
146
4,090
thread by: Herr Lucifer | last post Nov 22 '05 by: Gerry Hickman
As the founder of .NET framework, Microsoft claims that it invention will be the next best platform for programming in a near future. Now it is 2005, ..NET is 5 years old, and can talk and walk for himself with some help of his mum. However, we see the same native office applications are coming out again, and many other tools in SP2 of XP...
145
6,191
thread by: David MacQuigg | last post Jul 18 '05 by: Christos TZOTZIOY Georgiou
Playing with Prothon today, I am fascinated by the idea of eliminating classes in Python. I'm trying to figure out what fundamental benefit there is to having classes. Is all this complexity unecessary? Here is an example of a Python class with all three types of methods (instance, static, and class methods). # Example from Ch.23,...
145
8,684
thread by: Mark Johnson | last post Jul 20 '05 by: Andrew Thompson
Oddly enough, I found it difficult, using Google, to find a list of best-of sites based on the quality of their css packages. So I'd ask. Does anyone know of particularly good sites which are in good measure because of their creative and useful css designs? I'm aware of Zen Garden and a few others. So don't bother with those. And I hope I...
145
6,167
thread by: Sidney Cadot | last post Nov 14 '05 by: pete
Hi all, In a discussion with Tak-Shing Chan the question came up whether the as-if rule can cover I/O functions. Basically, he maintains it can, and I think it doesn't. Consider two programs: /*** a.c ***/
145
4,188
thread by: Dave Parker | last post Jun 28 '08 by: Dave Parker
I've read that one of the design goals of Python was to create an easy- to-use English-like language. That's also one of the design goals of Flaming Thunder at http://www.flamingthunder.com/ , which has proven easy enough for even elementary school students, even though it is designed for scientists, mathematicians and engineers.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.