473,543 Members | 2,035 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.
 
106
5,478
thread by: A | last post Jul 19 '05 by: White Wolf
Hi, I have always been taught to use an inialization list for initialising data members of a class. I realize that initialsizing primitives and pointers use an inialization list is exactly the same as an assignment, but for class types it has a different effect - it calls the copy constructor. My question is when to not use an...
106
3,565
thread by: Gary K | last post Jul 21 '05 by: Cor Ligthert
I first started with the C language using TurboC moving up to the full C++ with both borland/ms extensions. For the last couple of (dry) years, I have not needed to do full bore projects. As a result I switched to VB to make those quick util progs. Now that I am back into full(+1/2)-time coding, and using .NET now, I was wondering which direction...
106
6,347
thread by: xtra | last post Nov 13 '05 by: David W. Fenton
Hi Folk I have about 1000 procedures in my project. Many, many of them are along the lines of function myfuntion () as boolean on error goto er '- Dim Dbs as dao.database Dim Rst as dao.recordset
106
5,126
thread by: cfmortgagepro | last post Nov 17 '05 by: Chad Z. Hower aka Kudzu
Hi, I know that I'm an extreme newb by asking this overly beaten question, but I am leaning toward C#, becuase the perception is that it is better to learn than VB.Net. I guess it makes you cooler.:-) Anyhow, I am a novice programmer, and I will remain one as well...I have no plans to make programming my life ambition, but I think that it...
106
3,494
thread by: Gary K | last post Nov 22 '05 by: Cor Ligthert
I first started with the C language using TurboC moving up to the full C++ with both borland/ms extensions. For the last couple of (dry) years, I have not needed to do full bore projects. As a result I switched to VB to make those quick util progs. Now that I am back into full(+1/2)-time coding, and using .NET now, I was wondering which direction...
106
1,866
MMcCarthy
thread by: MMcCarthy | last post Jan 25 '08 by: acoder
Can you post any comments, questions etc. on the new code tags in this thread please. Mary
106
19,695
thread by: bonneylake | last post Sep 22 '08 by: bonneylake
Hey Everyone, Well i don't know if my question should be in javascript/ajax or coldfusion, i figure this is more of a coldfusion question. But if this is in the wrong section let me know an all gladly delete my question an put it in the correct section. Well what i am trying to do is pretty simple. I have a input field and someone starts...
105
5,084
thread by: Peter Hickman | last post Jul 18 '05 by: Courageous
Well after all this discussion it would appear that a 'Python like' language has appeared => Prothon. http://www.prothon.org/index.html Very alpha, sort of like Python (if you consider the indenting is what makes Python unique) and sort of Ruby in its use of prefixes to define scoping etc (although there is no reference to this trait being...
105
5,233
thread by: Christoph Zwerschke | last post Dec 3 '05 by: Donn Cave
Sometimes I find myself stumbling over Python issues which have to do with what I perceive as a lack of orthogonality. For instance, I just wanted to use the index() method on a tuple which does not work. It only works on lists and strings, for no obvious reason. Why not on all sequence types? Or, another example, the index() method has...
105
1,205
Banfa
thread by: Banfa | last post Jan 22 '07 by: Ganon11
Looking at the Community Experts box I notice that NeoPa is approaching fast in the outside lane. Assuming that it is still there at that time I predict he will overtake me at 6pm on Saturday. What's your guess?
105
3,168
thread by: guthena | last post Jul 11 '07 by: Keith Thompson
Can we write a C programe with out a semicolon ? printing HELLOWORLD !
105
6,070
thread by: sw | last post Nov 1 '07 by: Jackie Silva
Hi all, I have a news website tat is developed on joomla 1.5.Login facility is done thru a login component.On each page,ther s a 'Log In' link that redirects them to a login page.On successful login,user details are set in session as well as cookies and then redirected back to d referring page.The 'Log In' section changes to 'Welcome...
105
6,090
thread by: Keith Thompson | last post Jul 28 '08 by: David Thompson
pereges <Broli00@gmail.comwrites: These types already have perfectly good names already. Why give them new ones? If you must rename them for some reason, use typedefs, not macros. --
104
843
thread by: jrefactors | last post Nov 15 '05 by: Jordan Abel
I heard people saying prefix increment is faster than postfix incerement, but I don't know what's the difference. They both are i = i+1. i++ ++i Please advise. thanks!!
104
7,070
thread by: cody | last post Nov 16 '05 by: Daniel O'Connell [C# MVP]
What about an enhancement of foreach loops which allows a syntax like that: foeach(int i in 1..10) { } // forward foeach(int i in 99..2) { } // backwards foeach(char c in 'a'..'z') { } // chars foeach(Color c in Red..Blue) { } // using enums It should work with all integral datatypes. Maybe we can step a bit further: foeach(int i in...
104
5,423
thread by: Colin McGuire | last post Nov 20 '05 by: Fergus Cooney
Hi, is there a way to show a form without a titlebar (and therefore no control box/minimize box/title etc) but still have it appear looking like 3D? The property FormBorderStyle to None - this gives no titlebar etc but the form borders don't look 3D. In case I haven't explained what I want well, I want a form that looks like a button...
104
10,768
thread by: Beowulf | last post Mar 25 '06 by: --CELKO--
I have the view below and if I use vwRouteReference as the rowsource for a combo box in an MS Access form or run "SELECT * FROM vwRouteReference" in SQL Query Analyzer, the rows don't come through sorted by Numb. Everything I've read on the web suggests that including the TOP directive should enable ORDERY BY in views. Does someone have an...
104
16,861
thread by: Leszek | last post Feb 20 '06 by: Richard Cornford
Hi. Is it possible in javascript to operate on an array without knowing how mamy elements it has? What i want to do is sending an array to a script, and this script should add all values from that array Could you show me a little example how to do this? Thanks.
104
5,040
thread by: fieldfallow | last post Mar 13 '06 by: David Holland
Hello all, Is there a function in the standard C library which returns a prime number which is also pseudo-random? Assuming there isn't, as it appears from the docs that I have, is there a better way than to fill an array of range 0... RAND_MAX with pre-computed primes and using the output of rand() to index into it to extract a random...
104
4,461
thread by: JohnQ | last post Jun 15 '07 by: JohnQ
Well apparently not since one can step thru template code with a debugger. But if I was willing to make the concession on debugging, templates would be strictly a precompiler thing? I have a feeling the answer I'm going to get back will be "no, because templates have taken on a life of their own since their original conception and now also...
104
5,135
thread by: jayapal | last post Nov 28 '07 by: CBFalconer
Hi all, Whenever I use the gets() function, the gnu c compiler gives a warning that it is dangerous to use gets(). why...? regards, jayapal.
103
48,498
thread by: Steven T. Hatton | last post Aug 7 '05 by: Steven T. Hatton
§27.4.2.1.4 Type ios_base::openmode Says this about the std::ios::binary openmode flag: *binary*: perform input and output in binary mode (as opposed to text mode) And that is basically _all_ it says about it. What the heck does the binary flag mean? -- If our hypothesis is about anything and not about some one or more particular things,...
103
15,869
thread by: saraSS | last post Oct 31 '06 by: saraSS
I'm trying to built and array of circular link list but when I read the input file Ijust get a long link list instead of different list and after trying to use Linked_list_Stack *obj; I'm getting this errors newcir.cpp:107: request for member `push' in `obj', which is of non-aggregate type `Linked_list_Stack*' newcir.cpp:110: request for...
103
5,794
thread by: aboxylica | last post Dec 20 '07 by: bvdet
hey! I have a program that takes two input files(one in the matrix form) and one in the sequence form.Now my problem is that i have to give the matrix file(containing many matrices) and sequence file containing many sequences and calculate the same log score as I did for one matrix file and one sequence file. how it should exactly work is...
103
4,043
thread by: chochote | last post Jul 25 '08 by: Jerry Stuckle
Hi, I have a PHP script that does some processing, and stores an error message as a variable. The script then redirects to another script with the error string in the URL, with the second script displaying the message and continues with the rest of the logic. Now I want to hide the error message from the URL, but the second script needs...

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.