1,730 Posted Topics
| |
1. [URL="https://wiki.ubuntu.com/MaverickMeerkat/TechnicalOverview"]Overview[/URL] 2. [URL="https://blueprints.launchpad.net/ubuntu/maverick/+specs"]Features[/URL] Waiting for 10.10 :) | |
I haven't noticed this until I tried it today and boom! Compiler complained: [COLOR="Red"] error: constructors cannot be declared virtual[/COLOR] Why then Constructor is not okay while destructor is, in such as class as this? Thanks [CODE=C++]class MyAbstractClass{ public: virtual MyAbstractClass(std::string username, std::string password)=0; virtual ~MyAbstractClass(std::string username, std::string password)=0; virtual … | |
Re: [QUOTE=mordicaii;1271856] Why is this? This seems to be a very large oversight, or was it intentional?[/QUOTE] The guy have answered well. I would however like to answer this one, It is there by design | |
Re: Laziness? :icon_eek: You have showed no effort. Show your relevant codes | |
![]() | Re: Sam, dividing integers truncates the decimal part, one or both of them should be float/double depending on precision of data. [CODE=C++]int a, b, sum;//all are ints so the decimal part is truncated a=10; b=3; sum=a/b; //gives 3, truncates the repeating decimal int c; double d; double sum2; c=10; d=3.0; sum2 … |
Re: are you sure SDL can handle unicode? It seems C++ doesn't have Unicode support. So try third party libraries! | |
Re: Hint: Path may be incorrect! src="/ImageGallery/Images/mmbg3xmx3g.gif" supposing that you have your www directory at src="Z:/home/localhost/www/ and images in subdir ImageGallery/ Using relative paths is easier than absolute paths | |
Re: forums are for question to be discussed. so what's your question? | |
Re: [QUOTE=vidhya33;1347868]can anyone help me in doing railway reservation system using visual basic[/QUOTE] Sure and the guy is [URL="http://www.daniweb.com/forums/forum58.html"]here[/URL] | |
Re: [QUOTE=jumpdlite;1339503]my problem is that I don't really understand the questions and don't know where to start.[/QUOTE] You deserve [URL="http://www.cplusplus.com/doc/tutorial/"]a piece of cake[/URL] | |
Re: [QUOTE=aMOEBa;1338712]Code Igniter is great, check it out here, [url]http://codeigniter.com[/url][/QUOTE] +1 for CI Simple, loose MVC, fine docs et al | |
Re: Beware of [URL="http://phpsec.org/projects/guide/4.html"]session hijack[/URL] though | |
Re: AFAIK, passing pointer to class member function need you specify class Name also, i.e [CODE=C++]typedef void ( FooClass::*pointerToDoubleTakingFunction ) ( double& );[/CODE] See [URL="http://www.goingware.com/tips/member-pointers.html"]this link[/URL] for more info | |
Re: [QUOTE=ardav;1342714]The worst thing you can do is post a solution where the OP has made no effort. This fills up the forum with fly-by posters with 'help me now' posts. This is killing the site.[/QUOTE] Where are moderators? Can't they nail rule that gimme gimme gimme is a taboo? Apart … ![]() | |
Re: [QUOTE=Supriyo;1264939]Can a few less than moderately experienced programmers design large scale C++ software?[/QUOTE] Stop endless question with no progress. The questions you are repeating are already answered. I say yes and no. Yes if you use some library. for example, i don't have to port my codes to Linux or … | |
Re: [CODE=C++]Terrain class [/CODE] Was this intended to be a comment? | |
Re: [QUOTE=ceeandcee;1318405] How do I specify which record/primary key is to update?[/QUOTE] One note, when updating primary key, it MUST be Unique. I hope you know that but just reinforcing in case you don't know | |
Re: [URL="http://www.cplusplus.com/doc/tutorial/"]C++[/URL] or [URL="http://msdn.microsoft.com/en-us/visualc/default.aspx"]VC++[/URL]? If the first, here is [URL="http://www.cprogramming.com/tutorial/"]bonus[/URL] | |
Re: That means [B]if ($ua="HelloWorld")[/B] is always true. echo the value of [I]$ua[/I] before comparison | |
Re: [QUOTE=nbaztec;1343288][CODE]const int Pi = 3.14; //Constant int toDeg(int rad) { return rad*180/Pi; } float x = 0.3f*Pi; // x = 0.3PI int n = 10; // n = 10 float valOrig = cos(toDeg(x)); //To degree from radian float valComp = 0.0f; //Compute this value float Es = (0.5 x pow(10,2-n); … | |
Re: [QUOTE=Nompi;1343300]oooh I'm so sorry. As I said, I'm new to all this and I don't know how to get php code. WOuld you lie to tell me? thank you![/QUOTE] Its for [URL="http://www.w3schools.com/php/default.asp"]new bees[/URL] | |
Re: Sounds like plugin system? If so, then make plugin loader/Manager. All plugins will share interface file, let say [B]plugins.h[/B] where variable holding the password is defined. then in all methods of the DLL, check password first and if doesn't match, return some garbage. Else do a process! [CODE=C++]void checkPassword(std::string password){ … | |
Re: what does not work means? It is very general term. Please say exactly what does not work. Errors, et al | |
Re: Did you code it or copied and pasted? I ask because why should it be hard if you coded? Ooops! Short answer is [URL="http://www.w3schools.com/php/php_forms.asp"]yes[/URL] | |
Re: [QUOTE=Tauseefkhan;1342721]i need correct method tooo[/QUOTE] I'm sorry but there is no short cut my friend. You have to [URL="http://www.tizag.com/phpT/fileupload.php"]dig deep[/URL] and coin it | |
Re: [QUOTE=Gajewa469;1342720]I am trying to figure out a way to use maps to keep a total number of items. I was using arrays before [CODE]total[x] = total[x] + (function to add another int);[/CODE] Now I made total a map, but have no idea how to get the same result. Gives me … | |
Re: [URL="http://www.cplusplus.com/doc/tutorial/control/"]Hint[/URL]: [CODE=C++]int i=0; for(i=0; i<100;i++){ cout<<i<<"\n"; }[/CODE] | |
Re: Use code tags please. Check line 15, there is a dot there. What for? String inData[B].[/B]; [CODE=JAVA]import java.io.*; import java.util.*; public class Ch3_PrExercise1 { public static void main(String args[] ); { // declaration Scanner console = new Scanner(System.in); //read from keyboard int num1, num2; int num3, num4; String str; String … | |
Re: learn [URL="http://www.w3schools.com/sql/default.asp"]SQL[/URL] and [URL="http://www.w3schools.com/php/default.asp"]PHP[/URL] | |
Re: [QUOTE=LightSystem;1316586]Just wanted to point out that because there are more threads in the Windows forums than Linux doesn't automatically mean it's more stable or in any way better. Actually it just means that more people use Windows and that the people that use Linux are more technical therefore needing less … | |
Re: my favorite one [B]taskkill /f /im explorer.exe[/B] | |
Re: Use search box at the top right corner. If you used it, then you would come with something like [URL="http://www.daniweb.com/forums/thread28286.html"]this[/URL] | |
Re: I would read a line, [URL="http://www.cplusplus.com/reference/clibrary/cstring/strtok/"]tokenize[/URL] it with the > as delimiter and drop the part I want and write to another file. Finally as AD have said remove old and rename current | |
Re: Check the [CODE=JAVASCRIPT]OnClick="MyFunction()";[/CODE] and inside the function open popup with editor [CODE=JAVASCRIPT]function MyFunction(){ window.open('url_to_fckeditor_file.php'); }[/CODE] see [URL="http://ilovethecode.com/Javascript/Javascript-Tutorials-How_To-Easy/Use_onClick_in_Javascript.shtml"]here[/URL] for more | |
Re: why not make functions and keep main() clean? that way you will avoid many troubles | |
Re: Delete everything in your account and do Antivirus cleaning and use Backup to restore services. @rch1231, virus much of the time smells like Ms Windows ;) | |
Re: Use Code tags [CODE=C++]else if (item == 'A') money =number *itemA; cout << "Your total is $" << money;[/CODE] should be [CODE=C++]else if (item == 'A'){ money =number *itemA; cout << "Your total is $" << money; }[/CODE] that is [CODE=C++]if(....){ //============= } else if(...){ //========== } else if(...){ //============= … | |
Re: [QUOTE=prettyrein;1337906]Hi, I am also having an ONLINE ENROLLMENT SYSTEM and having a problem with coding.. I am a returnee student and more programming languages has been adapt... Using php, apache, mysql, html, javascript, css etc... I am confused especially in php query.. can anyone help me here, i don't have … | |
Re: Can it run windows? If yes, Linux can. And Ubuntu is my recommendation | |
Re: [QUOTE=liamzebedee;1337410]Is there any way of emulating an .exe in a .NET application?[/QUOTE] What do you mean? I can compile exe with MonoDevelop C# compiler | |
Re: [QUOTE=bops;1337342]Not really.. Correct me if I am wrong, but isn't a cryptographic hash function (SHA1 etc..) a one-way thing. There is no unhash function that takes a hashed string and outputs the original. If someone gets the hashed password, they still can't decrypt the file with it. What would you … | |
Re: Check [URL="http://www.piriform.com/"]Ccleaner [/URL]and click tools tab. There you can enable/disable them | |
Re: try this [CODE=C++]//integer.h int x; int y; [/CODE] [CODE=C++] //main.cpp #include integer.h #include integer.h #include <iostream> int main(){ x=10; y=11; std::cout<<x<<" "<<y<<std::endl; return 0; }[/CODE] | |
Re: [QUOTE=NormR1;1337354]It happens. They have a name for it: a bug Without the code to demo, who can say what happened.[/QUOTE] A bus is usually "user error" :) they are cause by programmer. There is a saying that goes like "garbage in garbage out" | |
Re: [QUOTE=nikita.chandra;1331574]hi all will it affect my applications speed if i'll set more than 10 attribute in the session thanks in advance![/QUOTE] It is matter of server allocated memory. If it can hold it you can use it. It matters the size of info you store than number of them | |
Re: I'm afraid you have hit the wall you can't go past. PHP have no threading, and seem like you talk about "spawning them" ![]() | |
Re: I would rather suggest you apply layer of abstraction for sake of simplicity and may be future Xplatform, if it is not a homework. Jump yourself into wxWidgets,GTKmm, or QT They really simplify things and abstract you from dirty calls to OS directly. I hate LPVOID and some other ugly … |
The End.