15,300 Posted Topics
Re: Rhumers are that Apple may not be long for this world due to recent [URL="http://www.zacks.com/stock/news/53260/Apple+Loses+Patent+Lawsuit"]law suits with Kodak. [/URL] And [URL="http://www.google.com/finance?client=ob&q=NASDAQ:AAPL"]Apple stocks [/URL]continue to fall through the floor. My understanding is that Object C is an Apple product so you can make your own conclusions about how long it may … | |
Re: Yes that has been a problem for a long time now -- every since DaniWeb went purple. I've just learned to click the New Posts link (or one of the others) twice in order to get good results. The problem does not occur if you are reading some thread then … | |
Re: you are missing the libraries that contain those functions. Get the libs from wherever you got those header files. | |
Re: I think it might help if we were allowed to post tutorials instead of linking to the ones on other sites. Posting tutorials seems to be an impossible task since there is no thread in which to post them. On PFO there are tutorial forums. They require mod approval but … | |
Re: What browser are you using? I use both Chrome and IE9 and both of them work ok for me. | |
Re: [quote]Because of the exhaustive legal appeals necessary for death penalty cases, the state has to pay $300,000 for defense attorneys for indigent prisoners per case. [/quote] See -- that's the whole problem with our legal system. The death penalty is not the problem, our legal system is. People in the … | |
Re: You probably installed the 64-bit version of MySQL server??? That's what I did, and I had to uninstall it and install the 32-bit version because that compiler can not generate 64-bit code. | |
Re: When you create a new project with VC++ 2010 you have the option to create standard C++ or CLR/C++ (M$ doesn't call it "managed" any more, but CLR). See attached screen shot. With CLR/C++ you can call most, if not all, the same functions that can be called by C#. … | |
Re: >> vector<int> vectorOne(29); The array on line 10 and the vector only have 29 items, not 30. If you want 30 then say so. Count them on your fingers if you need to verify, 0, 1, 2, 3, ... 29, 30. | |
Re: If you are trying to do console programming then you should be using the [URL="http://msdn.microsoft.com/en-us/library/ms682073(v=vs.85).aspx"]MS-Windows Console Functions[/URL]. Moving the mouse pointer to some screen location will not allow you to start typing at that location, you have to [URL="http://msdn.microsoft.com/en-us/library/ms686025(v=vs.85).aspx"]move the cursor[/URL] Example console program [code] #include <iostream> #include <Windows.h> using … | |
Re: >>c=&b[1]; It might help if you posted code that compiles. The above line is an error because its trying to convert char* to int*, which can't be done without a typecast. Next, it displays funny characters because array b[] is an array of binary values, which are not displayable. If … | |
Re: Where are your answers? Post your answers and we will tell you whether you are on the right track or not. | |
Re: you declared two variables named pi, one is double and the other is float. Delete one of the two (preferably the one inside main() because it is uninitialized). | |
Re: you have to call WinHttpCloseHandle () within the loop so that it is closed after each call to WinHttpConnect(). MOve lines 86-88 up above line 83. | |
Re: ride on the world's largest rollrecoaster and scare myself to death | |
Re: First you need to determine where the center of the tree will be, then set an int variable to be that value. The variable [b]count[/b] is just the number of stars that will be printed on the current row. [code] int main() { int center = 10; int count = … | |
Re: I agree. Such a knowledgeable person at such a young age is very rare. Unless he burns out quickly he will have a pretty bright career ahead of him. | |
Re: The error messages give you the line number on which the error occurs. I'm not going to count the lines in the code you posted, so I won't bother helping you any more than that. | |
Re: [QUOTE=uaremine;1631610]how can use the while loop to print my name 10 times[/QUOTE] Have you studied your text book about loops? If not then you should do so now. You will have to create an int variable that will be used to count from 0 to 10. | |
Re: vc++ 2010 Express and Code::Blocks are both good, free compilers and IDEs. | |
Re: They are now called "Today's Posts" and "unanswered threads" the links on that purple ribbon at the bottom of the screen (it may be somewhere else when looking at DaniWeb on a tablet) | |
Re: The program you want to write is not for beginning students -- hell even professionals will have issues with it. If you are writing for MS-Windows you will need lots and lots of knowledge and experience with win32 api graphic functions. Study win32 api and write lots of programs for … | |
Re: And your program will need to include windows.h header file. | |
Re: Really enjoyed Chand Sifarish music video -- just shows that love songs is an international language of its own :) Couldn't understand the lyrics but the music was fantastic, loved the mixture of western and eastern harmonies. | |
Re: vc++ 2008 version is no longer available. The only version is now vc++ 2010 and link in the previous post. | |
| |
Re: If you declare variable [b]counter[/b] as a static member of class Event then there will be only one instance of that variable regardless of how many times class Event is used as the base class. [code] #include <iostream> using std::cout; // you could put these classes in a header file … | |
Re: If you g[URL="http://lmgtfy.com/?q=libcurl"]oogle for libcurl[/URL] you will have found links to example C code. The first thing you have to do is compile the library. How to do that will depend on the operating system and compiler you are using. The download appears to only support VC++ 6.0 on MS-Windows. … | |
Re: >>i found this code on web but it has got code errors. That often happens when you try to plagiarize other people's code. | |
Re: Depends. Offhand I'd say it will require 100% rewrite because java doesn't have access to .net framework. But good news -- [URL="http://www.jnbridge.com/jnbpro.htm?_kk=.net%20java%20interoperability&_kt=9643a7ba-b2ef-4ed4-92cf-60fb8e2719c9&gclid=CJmS4vTa16oCFQEKKgod-zwQ_Q"]here[/URL] is a bridge between the two | |
Re: Today I learned that I have diabetes in my right eye. I've had the disease for about 10 years, and this was the first time my eye doctor detected any signs of it in my eye. Guess its about time I stop eating all those pizzas, McDonalds hamburgers, DQ cones … | |
Yesterday I bought a new Galexy Tab (similar to IPad but 1/3 the cost), but was unable to log into DaniWeb. Has anyone else tried it with IPad or similar product? After I clicked the login button it just erased my password and refused to let me log in with … | |
Re: I haven't experienced the problem tonight but maybe I'm just lucky tonight :) | |
Re: If NewButton2 is referenced in NewButton1.h then NewButton2.h must be included in NewButton1.h Your problem sounds like you just need to get the includes in the correct order. | |
Re: Funny, I've used Norton for quite a few years and have never had a problem with it (see below for an exception). Of course I don't visit sites or download files that may be infected with viruses. Even now I am running Norton 360 which includes antivirus, firewall, backup, disk … | |
Re: Yes, we all do. The error message already told you to call strcmp() to compare two strings. | |
Re: Are all the columns the same width? What is the width of each column (number of characters)? If each column were 2 characters wide, then 500,000 columns would occupy about 1 meg memory. But if you know before reading the file you only need two or three of those columns … | |
Re: google is your best bet. But very old software may no longer be available. Check out shareware and freeware sites (google for them) | |
Re: [QUOTE=tech291083;286237]is it possible to install them both ie iis the application server and oracle's database server on the same computer?[/QUOTE] Yes, and that is frequently done. MS-Windows and *nix can do both. But if the traffic or database requires are high enough you would want to put them on different … | |
Re: IE8 all the way. I've tinkered with google chrome and ff, don't really care for either. | |
Re: line 13: remove pos+1 line 20: add pos+1 in the substr The two lines mentioned above are conflicting with each other. | |
| |
Re: You need to use the [URL="http://www.w3schools.com/sql/sql_update.asp"]UPDATE[/URL] SQL statement, not the INSERT statement. | |
Re: If you have tried then post your attempt so that we can help you. | |
Re: I always hated bourbons and whiskeys. My favorites were gin & tonic, vodka and kahula (black russian). Ho Hum -- that's what happens when you get old, you have to give up all those things. Now I just drink unsweetened ice tea, diet soda, and bottled water. | |
Re: >>if(!(strstr(name, ab.name))) line 55. strstr() does not compare two strings to see if they are the same. Instead, strstr() tries to find one string from within another larger string. What you should use here is strcmp(), not strstr(). strcmp() will return 0 if the two strings are exactly the same, … | |
Re: Sounds as if he is writing a GUI program and calling win32 api [URL="http://msdn.microsoft.com/en-us/library/ms646927(v=vs.85).aspx"]GetOpenFileName() [/URL] standard dialog box. If that is the case then that dialog box will return the full path in the structure you pass to it. |
The End.