473,544 Members | 1,822 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.
 
84
5,822
thread by: Andy Glew | last post Jul 19 '05 by: Dave Vandervies
I am in search of any rigourous, scientific, academic or industrial studies comparing naming conventions in C++ or similar languages such as Ada: Specifically, are names formed with underscores more or less readable than names formed with MixedCase StudlyCaps camelCase?
84
3,853
thread by: Bibby | last post Nov 15 '05 by: Dave Thompson
Hi, I'm interested in getting started in the programming world. I've dabbled in C, C++ and VB6. Which would be the best language to focus my attention to regarding the following considerations: Hireability Portability Flexibility The likely candidates seem to be Java, VB.Net, C, C++, C#.
84
6,460
thread by: John Perks and Sarah Mount | last post Nov 30 '05 by: Paul Rubin
we have some Python code we're planning to GPL. However, bits of it were cut&pasted from some wxPython-licenced code to use as a starting point for implementation. It is possible that some fragments of this code remains unchanged at the end. How should we refer to this in terms of copyright statements and bundled Licence files? Is there,...
84
3,478
thread by: pamelafluente | last post Feb 7 '06 by: Randy Harris
With reference to the CDMA (computer.databases.ms-access) newsgroup "charter", as posted on http://www.mvps.org/access/netiquette.htm, Mike Noel has honored my just-created Forum of posting "a draft of what I think the charter/faq should look like". You can read the proposal here: http://datatime.forumup.it/ and crosspost your replies or...
84
15,785
thread by: Peter Olcott | last post Jan 14 '07 by: Simon G Best
Is there anyway of doing this besides making my own string from scratch? union AnyType { std::string String; double Number; };
84
8,497
thread by: aarklon | last post Dec 2 '07 by: David Thompson
Hi all, I found an interesting article here:- http://en.wikipedia.org/wiki/Criticism_of_the_C_programming_language well what do you guys think of this article....??? Is it constructive criticism that needs to be appreciated always...???
84
3,439
thread by: jacob navia | last post Dec 2 '07 by: David Thompson
As many people know, I think that garbage collection is a good solution for many memory allocation problems. I am aware however, that nothing is "the silver bullet", not even the GC. A recent article in slashdot http://developers.slashdot.org/article.pl?sid=07/11/17/0552247 proves that.
84
7,145
thread by: braver | last post Nov 28 '07 by: Bruno Desthuilliers
Is there any trick to get rid of having to type the annoying, character-eating "self." prefix everywhere in a class? Sometimes I avoid OO just not to deal with its verbosity. In fact, I try to use Ruby anywhere speed is not crucial especially for @ prefix is better- looking than self. But things grow -- is there any metaprogramming tricks...
84
3,462
thread by: Prisoner at War | last post Jun 27 '08 by: dorayme
Friends, your opinions and advice, please: I have a very simple JavaScript image-swap which works on my end but when uploaded to my host at http://buildit.sitesell.com/sunnyside.html does not work. To rule out all possible factors, I made up a dummy page for an index.html to upload, along the lines of <html><head><title></title></...
84
3,886
thread by: Patient Guy | last post Jul 14 '08 by: Barry
Which is the better approach in working with Javascript? 1. Server side processing: Web server gets form input, runs it into the Javascript module, and PHP collects the output for document prep. 2. Client side processing: Web server gets form input and passes it to PHP which includes the Javascript written in a way to make the form input...
84
571
thread by: s0suk3 | last post Nov 12 '08 by: Old Wolf
The task: Write a program that reads a set of words from standard input and prints the number of distinct words. I came across a website that listed a few programs to accomplish this task: http://unthought.net/c++/c_vs_c++.html (ignore all the language flaming :-), and thought that all of them did unnecessary operations, so I wrote my own....
83
3,374
thread by: kartik | last post Jul 18 '05 by: Andrew Dalke
there seems to be a serious problem with allowing numbers to grow in a nearly unbounded manner, as int/long unification does: it hides bugs. most of the time, i expect my numbers to be small. 2**31 is good enough for most uses of variables, and when more is needed, 2**63 should do most of the time. granted, unification allows code to work...
83
6,423
thread by: Alexander Zatvornitskiy | last post Jul 18 '05 by: Serge Orlov
Hello All! I'am novice in python, and I find one very bad thing (from my point of view) in language. There is no keyword or syntax to declare variable, like 'var' in Pascal, or special syntax in C. It can cause very ugly errors,like this: epsilon=0 S=0 while epsilon<10: S=S+epsilon
83
5,848
thread by: D. Dante Lorenso | last post Nov 12 '05 by: Marc G. Fournier
Trying to use the 'search' in the docs section of PostgreSQL.org is extremely SLOW. Considering this is a website for a database and databases are supposed to be good for indexing content, I'd expect a much faster performance. I submitted my search over two minutes ago. I just finished this email to the list. The results have still not...
83
2,974
thread by: user | last post Nov 14 '05 by: August Derleth
Hello, Here is the program #include stdio int main(void) { const int num = 100; int *ip;
83
15,523
thread by: rahul8143 | last post Nov 15 '05 by: Michael Wojcik
hello, what is difference between sizeof("abcd") and strlen("abcd")? why both functions gives different output when applied to same string "abcd". I tried following example for that. #include <stdio.h> #include <string.h> void main() { char *str1="abcd";
83
2,847
thread by: nospam | last post Nov 22 '05 by: Eric Newton
I got three (3) files (1) Untitled.aspx (2) Untitled.aspx.1.cs (3) Untitled.aspx.2.cs These three files must be used together to make file #1, Untitled.aspx, page work via J.I.T. when the User first hits Internet Explorer 6.0 on your browser.
83
3,037
thread by: Charles Law | last post Nov 22 '05 by: Charles Law
Hi guys I have a time critical process, running on a worker thread. By "time critical", I mean that certain parts of the process must be completed in a specific time frame. The time when the process starts is not especially important, but it must be complete within a small number of seconds. The operations I am performing do not take a...
83
7,724
thread by: deppy_3 | last post Jul 17 '06 by: Dave Thompson
Hi.I am started learning Programm language C before some time.I am trying to make a programm about a very simple "sell shop".This programm hasn't got any compile problem but when i run it i face some other ploblems which i can not correct.I would appreciated if someone take a look at my programm so as to help me.I tried many times to find out...
83
3,562
thread by: Licheng Fang | last post Aug 27 '06 by: andrei.zavidei
Hi, I'm learning STL and I wrote some simple code to compare the efficiency of python and STL. //C++ #include <iostream> #include <string> #include <vector> #include <set> #include <algorithm> using namespace std;
83
11,538
thread by: sunny | last post Oct 1 '06 by: Richard Heathfield
Hi All What is C99 Standard is all about. is it portable, i mean i saw -std=C99 option in GCC but there is no such thing in VC++.? which one is better ANSI C / C99? can i know the major difference between C99 & ANSI C standards?
83
3,892
thread by: achintmehta | last post Oct 19 '06 by: Keith Thompson
I am working on MontaVista Linux on a PPC board. The compiler I am using is a gnu cross compiler cross compiler (ppc-82xx-gcc) The application/software that is being run, is messing up the memory due to which a subsequent malloc fails. When the application core is dumped I do not get any backtrace in the code (although the application is...
83
3,867
thread by: Anonymous | last post Feb 15 '07 by: Grizlyk
Came across some code summarized as follows: char const* MyClass::errToText(int err) const { switch (err) { case 0: return "No error"; case 1: return "Not enough"; case 2: return "Too much"; default: return "Unknown error";
83
2,587
thread by: Heinrich Pumpernickel | last post Jul 17 '07 by: Kenny McCormack
28b (macros). write a macro, sizeof(var), that returns the size of its argument . you are not allowed, to use the sizeof() operator for this . for extra credit, write another macro, sizeof_t(type), that returns the size of a type . given is the following template.......... ...
83
2,749
thread by: Bill Cunningham | last post Sep 25 '08 by: CBFalconer
I have this code I would like to clean up. #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv) { double x, y, a, b; FILE *fp; x = strtod(argv, NULL);

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.