15,300 Posted Topics

Member Avatar for max2011
Member Avatar for Gonbe
0
193
Member Avatar for Ancient Dragon

I recently received up votes for posts I made over 5 years ago! Really?? -- shouldn't there be a time limit for such things? I appreciate the up votes, but they are pretty-much meaningless after all this time.

Member Avatar for Assembly Guy
0
330
Member Avatar for charles.dupree.37

line 348: that is not related to PEmployee class -- it's completly separate object. What you want to do is to use the person member of PEmployee. delete lines 350-354 and use person_data instead of next.

Member Avatar for David W
0
657
Member Avatar for f14dtom

I hate *nix -- its just too complicated for me. I like the ease with which I can accomplish things in Windows. For example, yesterday I decided to install Ubuntu because there was a problem I wanted to test out on *nix. That all went well, until I tried to …

Member Avatar for Vasvi
3
743
Member Avatar for MasterHacker110
Member Avatar for MasterHacker110
0
215
Member Avatar for triumphost

From what I read I think Clang is just an IDE, but the description is somewhat confusing. The description calls it a front end in some places, meaning just an IDE, and a compiler in other places. It also says it's still under development, so it might not be very …

Member Avatar for triumphost
0
702
Member Avatar for katman

IMO creating separate partitions for those things is a waste of hard drive space. The only real reason to repartition is so that you can put other operating systems on the same computer. In any event, windows xp doesn't have the software needed to partition the hard drive after the …

Member Avatar for katman
0
191
Member Avatar for ram619

line 8 is nonsense -- no one in his/her right mind would do such a thing. Useless statement. line 7 might be a problem without typecase. `p = (char*)arr;` line 9 will NOT print the value of arr[0] as you might expect. p is a char pointer, so \*p will …

Member Avatar for Razahcy
0
220
Member Avatar for vishalonne

The difference is sooo small that it doesn't really matter. If there is any difference at all it's probably measured in just a few nanoseconds. And a good compiler optimizer will most likely make them both the same. What you should be asking is which is simpler to read, which …

Member Avatar for mike_2000_17
0
183
Member Avatar for ram619

change them from int to unsigned int and see what happens. Also change bit1 to be 2 bits instead of 1.

Member Avatar for Ancient Dragon
0
147
Member Avatar for de Source

Of course it is -- you just need to figure out how to do it. Your program needs to iterate through all the rows of the listbox until it either finds the row that contains the search text (Name) or there are no more items. If it does not find …

Member Avatar for Ancient Dragon
0
261
Member Avatar for Ancient Dragon

I just noticed this behavior this morning -- when I select a thread in Chrome the wait cursor never stops unless I click the X stop button or browse to one of the pages that contains list of threads. I tried clearing catch and browsing history, but the problem persists. …

Member Avatar for Dani
0
159
Member Avatar for Klahr_R

[Here](http://www.vbforums.com/showthread.php?308511-Info-use-vbNullString) is another take on that.

Member Avatar for Klahr_R
1
279
Member Avatar for aVar++

or maybe [this](http://www.google.com/imgres?imgurl=http://www.istockphoto.com/file_thumbview_approve/4478802/2/istockphoto_4478802-soapy-scrub-brush-and-bucket.jpg&imgrefurl=http://goodguydesigns.com/?p%3D194&h=380&w=285&sz=42&tbnid=MrN7J1kRMaAgJM:&tbnh=90&tbnw=68&zoom=1&usg=__gF4_D_vnlZeCjn-PcMmTGuzmoIg=&docid=MgEn5hQOLzsv0M&sa=X&ei=8eQEUpGvCOOGyQHIloG4CQ&ved=0CGcQ9QEwAg&dur=176)

Member Avatar for Reverend Jim
0
197
Member Avatar for PaulaD
Member Avatar for avinash7

If you look at the calendar you will notice that Jan 1 falls on a different day of the week each year. So if 1 Jan 2001 was a Monday, then 1 Jan 2002 will be Tuesday, 1 Jan 2003 is Wednesday, etc. On leap year a day is skipped, …

Member Avatar for deceptikon
0
164
Member Avatar for leon.lashway

>But all in all the best approach is fgets(). Agree -- `scanf("%[^\n]%*c")` is awkward and difficult to read.

Member Avatar for deceptikon
0
436
Member Avatar for nitin1

Download free [OpenOffic](http://freedownloads.us.com/lp/openoffice/suite/index.php?pk=905465&s=google)e, it's compatible with Microsoft Office files. As for MS Office, what verion do you have? And what version of Windows are you running?

Member Avatar for ss125
-1
392
Member Avatar for Siberian

If you are talking about a Service, you can set the Admin Password in the Services control panel. For Windows 8 bring up Task Manager, select Serivces tab, right-ckick on one of the service program, select menu item Goto Services. That will bring up another windows which will let you …

Member Avatar for Siberian
0
135
Member Avatar for Shodow

>If you define ListView1 in details view with one column Do you mean in Designer view? Then in Columns property, add one column? I did that but when I chick the button the selected item does not get highlighted like it does when you just click the item. And the …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for Saqlainz

The easiest solution is not necessarily the best solution. When writing programs you have to consider the "stupid users" factor by making your program as non-breakable as possible. Murphy's Law -- if anythihng can go wrong, it will. Don't expect averyone to enter perfect data -- when testing your program …

Member Avatar for Mike Askew
-2
285
Member Avatar for sonyeo

>DELETE FROM table1 WHERE Processor="", Memory="", VideoCard="", HardDrive="", AntiVirus="" " Shouldn't there be AMD betweem variables instead of commas? `DELETE FROM table1 WHERE Processor="" AND Memory="" AND VideoCard="" AND HardDrive="" AND AntiVirus=""` Another possibility: use Nothing instead of "" `DELETE FROM table1 WHERE Processor=Nothing AND Memory=Nothing AND VideoCard=Nothing AND HardDrive=Nothing …

Member Avatar for sonyeo
0
180
Member Avatar for sprishi9

Read some of [these tutorials](https://www.google.com/webhp?source=search_app#bav=on.2,or.r_qf.&fp=8c1e686b48550523&q=vb+6.0+adodb+tutorial)

Member Avatar for Ancient Dragon
0
74
Member Avatar for kohkohkoh

how would you ever extract a specific file? Is the data for a specific file static, that is, is the data written in stone and will never change? Or do you need to edit and modify the data occasionally? The jar concept along with an index file might work as …

Member Avatar for kohkohkoh
0
186
Member Avatar for james.lu.75491856

> "we are a bunch of people who don't say LOL at work and need your money even though we have a enough." Two thoughts: * If you never say LOL does that mean you are a bunch of humorless geeks? (I doubt it) * * If you have enough …

Member Avatar for mike_2000_17
0
267
Member Avatar for adil.ghori

you will have to tell us what the error(s) are, no one is going to wade through all that code to find out. Also, have you installed Service Pack #5 or #6 for that compiler? Without it the compiler and some of it's header files are very buggy. You might …

Member Avatar for adil.ghori
0
947
Member Avatar for Alxprog

one way to do it is to use strtok() to separate the original string into its individual parts (tokens). Call atoi() or atol() to convert each part to integer. Next, multiply the year and month by some factor of 10 so as to shift them left and make room for …

Member Avatar for Labdabeta
1
328
Member Avatar for tanatos.daniel

lines 8 and 9 are unnecessary. Just write line 11 like this `FILE *f=fopen("aux.txt","w");` line 12: What is variable F? line 13: What is mfile? line 17: Don't use feof(). and fseek() is not needed either. Also the parameters are incorrect order for fprintf() while (fgets(s,100,f2) ) { fprintf(f,"%s",s); }

Member Avatar for tanatos.daniel
0
368
Member Avatar for Mr.M

I doubt that is possible without hacking the website, which is illegal and possibly get you a nice long prison sentence with free room, board and food for the rest of your life.

Member Avatar for Mr.M
0
329
Member Avatar for Jaydenn

do you have the original install dvd disks? If you do then you can try booting from it and running it's Repiar program.

Member Avatar for Jaydenn
0
156
Member Avatar for nnayram

I would not recommend simple copy/paste/compile as suggested by others. There are many features in C# that are a lot easier to do then they are in C/C++ due mostly to .NET framework api functions. And there are many other things that are done entirely differently. You and your program …

Member Avatar for LesF
0
477
Member Avatar for skp03
Member Avatar for <M/>
0
224
Member Avatar for hulky

have you tried any of [these](https://www.google.com/webhp?source=search_app#sclient=psy-ab&q=qvo6+virus+removal&oq=qvo6&gs_l=hp.1.2.0l4.0.0.1.2852.0.0.0.0.0.0.0.0..0.0...0.0.0..1c..16.psy-ab.2DueD913lBw&pbx=1&bav=on.2,or.r_qf.&bvm=bv.47534661,d.aWM&fp=40f38509aa869&biw=1169&bih=604) suggestions?

Member Avatar for HenrryWhite
0
120
Member Avatar for Jam_1

>how will the code/program know the number of days, from the date of hire, to the current date (when I'm processing payroll)? Use functions in time.h (or ctime). You know the date of hire, so populate a struct tm with the day, month and year, zero out all other fields, …

Member Avatar for Ancient Dragon
0
249
Member Avatar for nathan.pavlovsky

how many digits after the decimal point do you want? You can use sprintf() to do it. See [this article](http://www.cplusplus.com/reference/cstdio/printf/) double n = 1.234678901234567890; char str[10]; sprintf(str,"%.5f", n);

Member Avatar for nathan.pavlovsky
0
2K
Member Avatar for nitin1

The easiest way to answer your question is to just compile and run the program on a \*nix computer.

Member Avatar for lalitha2294
0
279
Member Avatar for joshl_1995

You don't need web server software unless you want to use a browser to connect to the database. If you write your own program such as with C/C++, C#, VB.NET, etc all the program needs is the ip address of the computer that hosts the database server. If however you …

Member Avatar for joshl_1995
0
476
Member Avatar for onon.innocomzzy

You don't have to write it yourself, there's already a media control. Read [this article](http://msdn.microsoft.com/en-us/library/windows/desktop/dd564585(v=vs.85).aspx)

Member Avatar for Ancient Dragon
-3
124
Member Avatar for vishalonne

There is no such thing as `char=''` (no spaces between the two ticks '). Put a space between the two ticks.

Member Avatar for Ancient Dragon
0
185
Member Avatar for tanatos.daniel

why is mName char* instead of std::string? IMO c++ programs shouldn't use char* unless there is a good reason for it. If you used std::string then you won't need a destructor.

Member Avatar for deceptikon
0
413
Member Avatar for sireiz

Lets pretend you attend a 12 cinima movie threater. Inside one of the 12 cinimas you will find several rows of seats, each row contains any number of seats. That is a 2d array of seats Now you can consider the entire cinima threater as a 3d array -- the …

Member Avatar for Ancient Dragon
0
178
Member Avatar for son jo

Well, just so you aren't trying to trick us, you post your code first then someone might post his/her code. If it's too large then just zip it up and attach it to your post.

Member Avatar for Ancient Dragon
0
181
Member Avatar for Ancient Dragon

I've been trying all day to find a way to duel boot Windows 8 and Ubuntu. None of the google links I read seem to work on my computer. My computer has two internal hard drives, Widows 8 is installed on the first drive c:. The second hard drive has …

Member Avatar for Ancient Dragon
0
314
Member Avatar for ammukarthi

I love [this free tutorial PDF](http://www.homeandlearn.co.uk/NET/vbNet.html). It contains a chapter on how to use SQL databaases. I have no clue why you are doing all that HTML stuff.

Member Avatar for ammukarthi
0
412
Member Avatar for riahc3

>A forum should have the same expirence on a desktop platform or a mobile platform With Windows 8 maybe that will happen, but for now it's impossible to have the same experience on both PC and mobile platform simply because mobile doesn't have the real-estate necessary to view DaniWeb like …

Member Avatar for riahc3
0
1K
Member Avatar for ChimpusDupus

Do you plan on selling your program, or are you writing it just for your own enjoyment? If you want to sell it then you may want to upgrade your operaring system to either Windows 7 or 8 so that you can program with most recent versions of the .NET …

Member Avatar for Ancient Dragon
0
360
Member Avatar for Ryan_6

You don't even need the if statement private void EnabledCheckBox_CheckedChanged(object sender, EventArgs e) { var checkbox = (CheckBox)sender; SaveButton.Enabled = checkbox.Checked; }

Member Avatar for Ancient Dragon
0
141
Member Avatar for johnappiah
Re: GAME

I don't see a PC version of that game -- and it's not fee anyway.

Member Avatar for Ancient Dragon
-2
60
Member Avatar for james.lu.75491856
Member Avatar for james.lu.75491856
0
475
Member Avatar for Alice_Blue

That error means it can not find the function cpu_features_init() in any of the file it compiled or in any of the libraries it is trying to link. Check out those warnings -- they might actually be errors which are causing that link problem.

Member Avatar for Laszlo_1
0
1K

The End.