15,300 Posted Topics

Member Avatar for Suraj_1

There's no such thing as an integer with only 2 bits -- maybe you mean bytes instead of bits. The number of bytes in an integer depends on what computer hardware architecture and compiler you are using -- c and c++ language do not specify how many bytes are in …

Member Avatar for Ancient Dragon
0
208
Member Avatar for mgold

Until web becomes 100% secure I don't see many people and companies relying entirely on it. It's difficult to believe companies will give up their company secrets to use web-based programs. Yes there is room for web-based programs, but there is also going to be a lot of PC desktop …

Member Avatar for james.lu.75491856
0
454
Member Avatar for Ancient Dragon

Yesterday I crashed my Windows 7 when I attempted to install debian in another partition. Today I reinstalled Windows 7 by repartitioning and reformatting the hard drive. After reinstalling Chrome I noticed it retained all my previous bookmarks and settinbs. How can that be? Does Chrome keep that somewhere in …

Member Avatar for scudzilla
0
229
Member Avatar for fhau013

I just installed SharpDevelop. It looks almost identical to Visual Studio IDE.

Member Avatar for fhau013
0
237
Member Avatar for Eddie_B
Member Avatar for Lamp II

See [this thread](http://www.daniweb.com/software-development/cpp/threads/357334/how-to-play-a-video-in-cc-program)

Member Avatar for Ancient Dragon
0
51
Member Avatar for chukeej

IE6 is very old -- it may not know how to display the page. What version of MS-Windows is your computer running?

Member Avatar for JorgeM
0
136
Member Avatar for BeyvKoYy
Member Avatar for deceptikon
-1
183
Member Avatar for Samerases
Member Avatar for efe.ozyer

You mean the icon in the taskbar when the application is running? Why would you even be concerned about that? An MFC application has a dialog or window that is visible to the user then why not the icon in the task bar?

Member Avatar for RonalBertogi
0
3K
Member Avatar for oanahmed

You don't need permission from web sites to post reviews, if you did then no one would be able to give bad reviews. I don't know about Google Adsense.

Member Avatar for Ketsuekiame
0
463
Member Avatar for soche123

You have an array of 10, but the loop counter only counts to 4. Any reason for that? >here's what I wrote but it's not working.. what's not working? It should print something on the screen every time you enter a number that is greater than any previous number entered. …

Member Avatar for rubberman
0
231
Member Avatar for Ancient Dragon

I installed WampServer on my Windows 7 Ultilate computer the other day and WordPress yesterday. I attempted to test WP registration in my web site but I never received the registration confirmation email. Is this not possible on localhost? If it is how do I go about getting email to …

Member Avatar for Ancient Dragon
0
322
Member Avatar for eldiablo1121

>Write a program that defines an array of integers `int a[5];` > and a pointer to an integer `int *ptr;` >Make the pointer point to the beginning of the array. `ptr = &a[0];` Now you should be able to finish the rest. Hint: to move the pointer to the next …

Member Avatar for eldiablo1121
0
425
Member Avatar for vishalonne

One way might be to use the % (mod) operator in the loop (function Calculate returns the result of the calculation 1/M!XM int M = 5; // some value int Result = 1 - X; for(int i = 1; i <= M; i++) { if( (i%2) == 0) Result += …

Member Avatar for Ancient Dragon
0
179
Member Avatar for nitin1

>the place where i have read this said that this is wrong Then you read the wrong article -- see the example [here](http://www.cplusplus.com/reference/cstdarg/va_arg/)

Member Avatar for nitin1
0
191
Member Avatar for johnray31

argv parameter of main is a good and common example of a double pointer -- it is a two dimensional array of strings. It can be coded in two ways and the use of the argv is identical in both version. [code=c] int main( int argc, char **argv) { // …

Member Avatar for Bharat_1
0
16K
Member Avatar for christinetom

You might also check the documentation for the specific compiler you want to use, for example if you use Microsoft Visual Studio then read [this article](http://msdn.microsoft.com/en-us/library/3sxhs2ty(v=vs.80).aspx). I'm sure GCC has a similar page.

Member Avatar for rubberman
0
190
Member Avatar for modaresi

The reason for waiting until the array is filled before sorting is because your idea is just too slow. First you have to find the spot where to insert the new value, then move all data from that place to the end of the array. This is acceptable if there …

Member Avatar for Ancient Dragon
0
418
Member Avatar for Antriksh_1

Visual Studio 2012 produces warning that it is a non-standard extension. The solution is to make it a pointer.

Member Avatar for mike_2000_17
0
243
Member Avatar for willowmoon

I am running 64-bit Windows 7 and McAfee with no such Action Center messages. I also have a custom-built PC.

Member Avatar for Ancient Dragon
0
273
Member Avatar for nitin1

Yes, I think the output will be different on \*nix then it is on MS-Windows. Have you tested it on both systems?

Member Avatar for nitin1
0
148
Member Avatar for Aleksa_1

you could just call strcpy() to copy the contents of s2 into s1. Replace lines 21, 22 and 23 with this one line, unless of course your teacher said you can't use strcpy() `strcpy(s1+p, s2);`

Member Avatar for Ancient Dragon
0
256
Member Avatar for welly.sinclair

Your program is incomplete. See the database section (Chapter 13) of [this tutorial](http://www.homeandlearn.co.uk/net/vbNet.html)

Member Avatar for GeekPlease
0
275
Member Avatar for Vsan

Have you accomplished anything since you posted that question? If you have please post updated code so that we aren't looking at old obsolete code that bugs you have already fixed.

Member Avatar for pbj.codez
-1
156
Member Avatar for MasterHacker110

You have to use a recursive function. I've written a code snippet that does exactly that for both [MS-Window](http://www.daniweb.com/software-development/cpp/code/216612/transversion-system-directories)s and [\*nix](http://www.daniweb.com/software-development/cpp/code/216812/searching-linux-directories). Or if you want to go a more portable way then use [boost library](http://www.boost.org/doc/libs/1_53_0/libs/filesystem/doc/index.htm).

Member Avatar for Ancient Dragon
0
321
Member Avatar for Rahul47

Conrol Manager --> Administrative Tasks --> Computer Management -->Disk Management. There you will see your hard drive(s) and partitions. Dis you install Windows 8 in a separate partition? That would make it a lot easier to remove it.

Member Avatar for Rahul47
0
184
Member Avatar for Ahsaas

Is there a reason you want to use that library instead of just standard C FILE\* functions? If all you want to do is write it to a file then just standard C library fwrite(), then fread() to read it back. You won't get more efficient then that. But if …

Member Avatar for Ancient Dragon
0
169
Member Avatar for Abhinisha

> instance of the class' member function is required to call the non-static member function Maybe I misinterpreted that, non-static member functions can call both static and non-static member functions. Static member functions can only call other static member functions and use static class data.

Member Avatar for MonsieurPointer
0
211
Member Avatar for Shiva_nan

you can download [URL="http://www.azalea.com/BarcodeFonts.html?gclid=CPuJkZzxw4gCFRorWAod0E4PKQ"]barcode fonts[/URL] for MS-Windows

Member Avatar for bruc.harvey
0
258
Member Avatar for aVar++

Depends on what you want to use it for. If all you want is a computer to browse the internet and get email then it doesn't really matter what computer you have. If you want to play high-end games then you need a computer with a lot of horsepower. I …

Member Avatar for BigPaw
0
205
Member Avatar for vngeanceFPS

>We would like to run a vbulletin forum on that site as well. I would suggest not -- vBulletin forums are heavily spammed and you will spend 3/4 your time removing spam. But if you really want to go that route I have a vBulletin license I'm not using any …

Member Avatar for Ancient Dragon
0
230
Member Avatar for rakesh.menon.16

jump is a macro which is defined to be the name of a register -- you can use register names as labels. Suggest you just delete lines 3 and 4. lines 8 and 9 should appear after lines 10 and 11. The way they appear now lines 8 and 9 …

Member Avatar for CarolJ
0
253
Member Avatar for warraich22

how to do that will depend on the compiler you are using. A Turbo C++ compiler code will not be the same as Visual Studio 2012 or Code::Blocks code. [Here](http://electrosofts.com/cgraphics/) is a nice beginner's tutorial for Turbo C

Member Avatar for Ancient Dragon
0
213
Member Avatar for hardmath

why? Is there also a Cloud based compiler to go along with that Cloud based editor? Why not just use the editors that already exist on your PC? [edit]I just read about it in the link you provided. It might be ok for web programming (HTML, java, etc) languages which …

Member Avatar for mike_2000_17
0
382
Member Avatar for Tinnin

try this (I don't know if it will work or not): `time > time.out | wc > wc.out`

Member Avatar for Tinnin
0
142
Member Avatar for johans22
Member Avatar for papazulu

I just checked at PFO and I don't see you in the moderation queue. It's highly possible I deleted your account thinking it was spam -- almost all new registrations at PFO are spammers. Register again and I'll make sure that doesn't happen again.

Member Avatar for BigPaw
0
541
Member Avatar for shane.shaffer.50

Is the database going to be on a LAN? If yes, then your job is quite easy -- there is not much difference connecting to a databse on a LAN then there is connecting to the database on the local computer. Just put the server's IP address in the connection …

Member Avatar for Ancient Dragon
0
97
Member Avatar for MRehanQadri

What's the purpose of that function, why do you need to convert the int to a string? In c++ you can use stringstream to make the conversion #include <string> #include <sstream> using namespace std; std::string foo() { int i = 20; string n; stringstream str(i); str >> n; return n; …

Member Avatar for Ancient Dragon
0
402
Member Avatar for hackoman96

According to Sams, it will only take 24 hours, see [Sams Teach Yourself Java in 24 Hours](http://www.amazon.com/Teach-Yourself-Covering-Android-Edition/dp/0672335751).

Member Avatar for iamthwee
0
275
Member Avatar for pravinda333

[Here](http://www.winprog.org/tutorial/) is a very popular tutorial. But it's much easier to write GUI programs in C# or VB.NET

Member Avatar for iamthwee
0
92
Member Avatar for Sunil_6
Member Avatar for Swayat

One way is to call ReadLine() then convert the String to int using `Convert::ToInt(str)`

Member Avatar for tinstaafl
0
253
Member Avatar for subash sonar

>Can it be possible to give the header file windows.h in turbo c No -- turbo C compiler is too old. It is an ancient compiler that pre-dates MS-Windows and only uses ancient MS-DOS operating system. You need to get a more modern compiler such as free Visual Studio 2012 …

Member Avatar for Moschops
0
358
Member Avatar for anitha av

[Here](http://www.easysoft.com/developer/languages/c/odbc_tutorial.html) is an odbc tutorial. BTW what compiler and operating system are you using?

Member Avatar for sai subhashini
0
127
Member Avatar for Learner010

They are properties of the main form. For example look in properties for MinimizeBox and set it to either True or False. Change ControlBox property then see what happens to your program.

Member Avatar for ddanbe
0
289
Member Avatar for wumeed

Declare it like this and it will work because the compiler copies each of the fruits into it's own 10-byte buffer that can be overwritten. `char fruites[5][10] = {"apple", "banana", "orange", "apricot", "pineapple"};`

Member Avatar for Ancient Dragon
0
151
Member Avatar for subash sonar

use a modern compiler such as free Visual Studio 2012 or Code::Blocks with MinGW and you can easily do what you want. Turbo C++ is just too old to be able to do modern graphics objects. It's a nice compiler for universities to teach intro programming classes but not much …

Member Avatar for Ancient Dragon
0
172
Member Avatar for hellogoodday
Member Avatar for untio
0
199

The End.