1,730 Posted Topics

Member Avatar for lewashby
Member Avatar for Stefano Mtangoo
0
65
Member Avatar for Stefano Mtangoo

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 :)

Member Avatar for richieking
0
162
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
575
Member Avatar for mordicaii

[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

Member Avatar for Stefano Mtangoo
0
97
Member Avatar for chinchan
Member Avatar for akvlko
Member Avatar for Stefano Mtangoo
0
116
Member Avatar for chudapati09

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 …

Member Avatar for Stefano Mtangoo
0
36K
Member Avatar for epicbeast9022

are you sure SDL can handle unicode? It seems C++ doesn't have Unicode support. So try third party libraries!

Member Avatar for Stefano Mtangoo
0
575
Member Avatar for kracko

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

Member Avatar for kracko
0
104
Member Avatar for timb89
Member Avatar for Narue
0
152
Member Avatar for arkarjun

[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]

Member Avatar for Fbody
-8
238
Member Avatar for jumpdlite

[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]

Member Avatar for Stefano Mtangoo
0
173
Member Avatar for qazplm114477

[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

Member Avatar for Stefano Mtangoo
0
268
Member Avatar for scarcella

Beware of [URL="http://phpsec.org/projects/guide/4.html"]session hijack[/URL] though

Member Avatar for Stefano Mtangoo
0
313
Member Avatar for TheWolverine

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

Member Avatar for Stefano Mtangoo
0
4K
Member Avatar for markolini

[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 …

Member Avatar for diafol
0
235
Member Avatar for Supriyo

[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 …

Member Avatar for xtrmR
0
356
Member Avatar for s080072

[CODE=C++]Terrain class [/CODE] Was this intended to be a comment?

Member Avatar for hag++
-2
85
Member Avatar for ceeandcee

[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

Member Avatar for ceeandcee
0
164
Member Avatar for DeShadow

[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]

Member Avatar for Stefano Mtangoo
0
110
Member Avatar for brown23

That means [B]if ($ua="HelloWorld")[/B] is always true. echo the value of [I]$ua[/I] before comparison

Member Avatar for Stefano Mtangoo
0
91
Member Avatar for cdh1944

[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); …

Member Avatar for Stefano Mtangoo
0
171
Member Avatar for Nompi

[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]

Member Avatar for Stefano Mtangoo
0
300
Member Avatar for Suzie999

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){ …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for burcin erek
Member Avatar for Stefano Mtangoo
0
110
Member Avatar for Kamboodle

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]

Member Avatar for Stefano Mtangoo
0
123
Member Avatar for rajeesh_rsn

[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

Member Avatar for Stefano Mtangoo
0
82
Member Avatar for Gajewa469

[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 …

Member Avatar for Stefano Mtangoo
0
131
Member Avatar for ccube921

[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]

Member Avatar for Stefano Mtangoo
0
73
Member Avatar for jlancaster954

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 …

Member Avatar for Stefano Mtangoo
0
384
Member Avatar for accountholder

learn [URL="http://www.w3schools.com/sql/default.asp"]SQL[/URL] and [URL="http://www.w3schools.com/php/default.asp"]PHP[/URL]

Member Avatar for Stefano Mtangoo
0
189
Member Avatar for khakilang

[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 …

Member Avatar for Rigved
0
140
Member Avatar for koti86
Member Avatar for aar0n

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]

Member Avatar for Dazaa
0
200
Member Avatar for Barca

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

Member Avatar for Barca
0
158
Member Avatar for Sarama2030
Member Avatar for BzzBee

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

Member Avatar for dennishall
0
420
Member Avatar for jtylerboy222

why not make functions and keep main() clean? that way you will avoid many troubles

Member Avatar for burcin erek
0
170
Member Avatar for mangel.murti

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 ;)

Member Avatar for vaibhav1983
0
119
Member Avatar for knellgust

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(...){ //============= …

Member Avatar for Stefano Mtangoo
0
105
Member Avatar for prettyrein

[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 …

Member Avatar for Stefano Mtangoo
0
176
Member Avatar for veledrom

Can it run windows? If yes, Linux can. And Ubuntu is my recommendation

Member Avatar for khakilang
0
118
Member Avatar for liamzebedee

[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

Member Avatar for Diamonddrake
0
117
Member Avatar for bops

[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 …

Member Avatar for Stefano Mtangoo
0
344
Member Avatar for gunbuster363

Check [URL="http://www.piriform.com/"]Ccleaner [/URL]and click tools tab. There you can enable/disable them

Member Avatar for Ancient Dragon
0
280
Member Avatar for gunbuster363

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]

Member Avatar for gunbuster363
0
1K
Member Avatar for Konstar

[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"

Member Avatar for Stefano Mtangoo
0
66
Member Avatar for nikita.chandra

[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

Member Avatar for Stefano Mtangoo
0
73
Member Avatar for ←Guybrush→

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"

Member Avatar for diafol
0
104
Member Avatar for jalpesh_007

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 …

Member Avatar for Stefano Mtangoo
0
363

The End.