181 Posted Topics

Member Avatar for Excizted

Hello! :) I'm trying to achieve an 'engine' of a kind in a DLL project. I have successfully made a DLL that works, but as simple as Hello World. Now I'm coding a framework into the DLL project, but I'm having some trouble with the singleton function. Im getting this …

Member Avatar for oktalist
0
197
Member Avatar for iWalletMobile

Requires you to sign up with a phone service provider. There are some easy ones where you pay just a few bucks and get code for integration. Can't remember names.

Member Avatar for iWalletMobile
0
174
Member Avatar for VBNick

It could simply be because your upload speed isn't as fast as you think. What if you try a direct FTP transfer to him? - This doesn't apply if you are on LAN ofcourse, then speed should never be low as 15KB/s. What if you change chunk size? Have you …

Member Avatar for VBNick
0
658
Member Avatar for Insomaniacal

A week ago I bought an expensive ATI HD5870 card. I started up the drivers in Linux, prepared for some bugs or whatever when using compiz - that was the issues I was aware of. The performance was worse than with my old Nvidia card which today costs 1/6 of …

Member Avatar for crivion
0
106
Member Avatar for SKANK!!!!!

Sessions funnily only lasts for a session, That's how they work you can't change that. You can't make a cookie non-deleteable. The user has control over his computer and that's it. I usually make cookie with expiry of 10 years, and honestly I've never seen any one not reinstalling a …

Member Avatar for Excizted
0
982
Member Avatar for kunkunlol

You will have to iterate through all the values and sort them. By googling for half a minute I found this excellent piece of code to sort numbers: [I]sortme should contain the numbers to sort, and size should contain the count of numbers.[/I] [CODE] const int size = 0; int …

Member Avatar for Excizted
0
105
Member Avatar for Mirth

You do not check for mysql errors, so that could be a reason you don't get errors :) Get used to, after all mysql_query(), add as shown here: [CODE]mysql_query(...) or die(mysql_error());[/CODE] If mysql_query returns false, which it will if something goes wrong, it will stop execution, clear page and print …

Member Avatar for Excizted
0
149
Member Avatar for Danksalot

I don't know the solutions to this. [I](this is a friendly and discrete bump because I think it is an interesting issue)[/I]

Member Avatar for Danksalot
0
930
Member Avatar for tjcares

Whats up with the fuc.. uhm odd formatting? Are you querying your results from an SQL database? Then it is easy to let MySQL return the values sorted.

Member Avatar for almostbob
0
105
Member Avatar for Excizted

Hello, [I]Before you get scared away - my issue does not particular seem to relate to Quaternions or Vectors. More generally, it appears to be something compiler or C++ standard related, as my return call from the function is acting strange. You can eventually start reading the [U]concluding issue at …

Member Avatar for Excizted
0
196
Member Avatar for mrnutty

76MB? :O Will it work in Linux? Btw what a bad file share site you have used. I clicked download three times, all three different ads.. -_- Wtf is wrong with that browser game Metin2.. their ad is just a big DOWNLOAD button, nothing relating to themselves. Lol and another …

Member Avatar for mrnutty
0
71
Member Avatar for barathdon

If you do my high school graded writing assignment, then I will do your C++ program! Deal or no deal? ;) Just joking, however as your first post you've made many mistakes. You don't create a title saying "gimmeh the solution", you shortly describe your problem. It is not considerably …

Member Avatar for arkoenig
0
89
Member Avatar for vilasdhobale
Member Avatar for Amoblaze

Check this out: [CODE]int main() { std::cout << "Enter something: "; std::string input; std::cin >> input; std::cout << std::endl << "Thank you, I will store it in a file now." << std::endl; ofstream myfile ("Data_file2.txt"); if (myfile.is_open()) { myfile << input + "\t\t"; myfile.close(); } else cout << "Unable to …

Member Avatar for WaltP
0
207
Member Avatar for VBNick

Guess you are looping until eof? Every loop count an integer one up. After the loop, you just multiply the count integer with the amount of bytes read per read call (probably 1? ;)) I'm not sure if it is better or worse, but I like this method much more: …

Member Avatar for VBNick
0
252
Member Avatar for Automag05
Member Avatar for Excizted
0
84
Member Avatar for shirmaster

Please specify your issue. You mention a warning.. what warning!? Please indent your code, it is unreadable in it's current state.

Member Avatar for shirmaster
0
103
Member Avatar for jrayborn66

Do you want to create a program which takes in an english string and then outputs the same string in another language? That can't be computed by C++, you would have to create a database of english word -> latin word.

Member Avatar for LevyDee
0
208
Member Avatar for Ambislm

As for your first issue. You can't simply link to a page, and send post headers headers that way. You have to send them. Usually you would use a form to send post variables. You can also use javascript. There is probably some way to define the headers to be …

Member Avatar for slyme
0
165
Member Avatar for 3ndl3ss

Is the game in standalone flash or from a webbrowser? It is not hard at all to have two images and compare them for equality. - You could even easily implement features for sensitivity (how much can the picture change). But first of all you need a picture. You could …

Member Avatar for 3ndl3ss
0
185
Member Avatar for krishx343

I don't quite understand why for() would be better than while() in this case. Anyway, here's an example: [CODE]$results = mysql_num_rows($result); for($sloop = 0; $sloop < $results; $sloop++) { $row = mysql_fetch_array($result); // do more stuff }[/CODE] .. I just thought you maybe wanted to loop x times whether theres …

Member Avatar for rajarajan2017
0
9K
Member Avatar for sparkles_links

What do you expect to be in place of $_POST[aspirant_photo]? Does it just contain an URL? The mail client will not automatically parse an image url to an image. In this case you will have to send HTML headers, and use <img> tags to show the image.

Member Avatar for vibhaJ
0
70
Member Avatar for Daqpan

I completely agree with Nick Evan. Use Filestream and Stringstream. (f)scanf, atoi and relatives are C, not C++. Take a look at this code. I'm not sure if it will work, as I never use tabs, but I suppose \t should do it: [CODE]std::string line; // get a line from …

Member Avatar for dusktreader
0
135
Member Avatar for Member 785748
Member Avatar for Member 785748
0
330
Member Avatar for Silvershaft

You can use the WinAPI to create a socket connection to the server and send headers to apache, requesting the file. Use Winsocket2 for this.

Member Avatar for Excizted
0
72
Member Avatar for adaniel058

Hi and welcome to Daniweb. I get lost from your first line of data file. You say it should contain the size of the array? But there is two numbers? Is it a two-dimensional array? And I'm a bit confused - you need to put data into structs, but also …

Member Avatar for adaniel058
0
367
Member Avatar for Member 785485

[QUOTE=MurNesty;1269080]I'm using dev-c++ 4.9.9.2 version and allegro 4.4.0.1 version. I created a console project and done what DTV said in [url]http://www.daniweb.com/forums/thread248782.html[/url]. But i cant found liballeg.a so i add liballeg.dll.a. Then i try some example from [url]http://www.gillius.org/allegtut/index.htm[/url] but there is problem of alleg_init undeclared error raised. I had try other …

Member Avatar for Excizted
1
145
Member Avatar for mayank101505

In C++ use fstream, as VBNick also suggests, to load the data. Then you just need to perform your actions on the loaded data, you could store it in a string.

Member Avatar for Excizted
0
91
Member Avatar for dansnyderECE

You need access to the specific instance of ThreadContext. As your variable of interest, reg, is a part of a class, it will differ depending on the instance of the class. Find out where an instance is made, could look like: [CODE]ThreadContext* tc = new ThreadContext(???); or: ThreadContext tc(???);[/CODE] Then …

Member Avatar for Excizted
0
183
Member Avatar for sisterjo

I would gladly help you with this. - But I can't. Not because I lack C++ knowledge. No. The problem resides in your post formatting! [CODE]USE CODE TAGS.[/CODE] I guess those numbers you write in front of the errors are line numbers. We can't see the line numbers of your …

Member Avatar for mrnutty
0
187
Member Avatar for Member 785122

Why do people want to become programmers and go to school trying to learn it, when they have absolutely no logical sense in life. You don't even consider general forum rules. Me and friends made games doing this kind of stuff when we were 10 years old oh god, and …

Member Avatar for Excizted
-1
86
Member Avatar for faizabest

Are you sure the server (apache) starts up, or fail in the progress? Applications like Skype and Teamviewer like to use the same port as Apache. Note: This would more fit in Hardware & Software category imo.

Member Avatar for faizabest
0
119
Member Avatar for genux

It is not hard to develop a game working on both Windows and Linux, even on both OpenGL and DirectX. But it sounds like you want to modify the existing Unreal Tournament 3? First of all you would need access to the source code. Then, if the original developers has …

Member Avatar for genux
0
106
Member Avatar for kaydee123
Member Avatar for ptemedia

Yes, it is common to have that kind of files looking like this [CODE]Peter;26;This guy is awesome![/CODE] or [CODE]Peter,26,This guy is awesome![/CODE] or you could specify multilined sections like this, but your need doesn't seem like this is any better unless you of course like the syntax. [CODE] { Peter …

Member Avatar for Excizted
0
236
Member Avatar for Silvershaft

Take a look at this example MySQL query [CODE]UPDATE my_table SET password = '111111' WHERE id = '5'[/CODE] or [CODE]UPDATE my_table SET point = point+1000 WHERE rank > '0'[/CODE] I hope this answers your question :)

Member Avatar for Silvershaft
0
4K
Member Avatar for DaJ4ck3L

[QUOTE]what all files this program accesses[/QUOTE] - Yeah what about them? I will gladly help you, if you would tell me specifically what you want to know. - Are you using this application as reference, to learn C++? If you would just tell me something like that, I could easily …

Member Avatar for Excizted
0
165
Member Avatar for bolineni

> I have one Server code , and I have to test with 100 clients .... > > Clients has to read data from text file in local system and has to send to Server ... for that i want to write one client code to test my sever .. …

Member Avatar for Excizted
0
90
Member Avatar for NathanOliver
Member Avatar for Excizted

Hi people, I'm trying to compile my C++ project under Windows, which it should be able to. I've got a whole bunch of dependency libraries. When I compile everything seems fine until these error pop up: [CODE]1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\rpc.h(27) : error C2598: linkage specification must be at global scope 1>C:\Program …

Member Avatar for Excizted
0
916
Member Avatar for Excizted

Hi, I'm working on a shared library with a various of dependency libraries. They are all currently linked dynamically (shared object). I'd like a few of the libraries linked statically TO the main shared object. When I go ahead and try to link these libraries (.a) I get an error …

Member Avatar for tarakant_sethy
0
155
Member Avatar for Excizted

Hi people, I'm trying to match strings from a pattern containing[B] wildcards[/B]. Basically I need to be able to go through a stack of strings, and see which of them matches my pattern. Fx [B]My*.txt[/B] will match only one of these. [U]MyFile.txt[/U] [I]MyFile.php[/I] I'm aiming to end up with a …

Member Avatar for NathanOliver
0
5K
Member Avatar for Excizted

Hello, I have a derived class, that I'm trying to delete. This causes a segmentation error, though. I'm fully aware of the virtual destructor thang, but I'm using it all the way around, and still this issue occurs. I'll post my headers only, please tell if more is required. DataStream.h …

Member Avatar for Excizted
0
3K
Member Avatar for iamthwee

Very nice! :) I think that could come in handy for someone at least ;) I could probably use it - would it be too hard to build it for Linux? :) You could also put up the source, then maybe I could rewrite it myself... If you want to …

Member Avatar for iamthwee
3
238
Member Avatar for johndoe444

I suppose your problem is simply that you're not, by HTML, setting the charset? Try putting the following in the head area of your HTML output, or just output it at top if you don't have any advanced HTML yet. [CODE]<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> [/CODE]

Member Avatar for kallin
0
114
Member Avatar for eggberto

Hi and welcome to the business - and welcome to DaniWeb :) Well I hear a lot of newbies go with Allegro, but 2 years ago when I first time wanted to make a video game, I found Allegro confusing - maybe it was just me, but I never got …

Member Avatar for eggberto
0
150
Member Avatar for angel19
Member Avatar for angel19
0
113
Member Avatar for abby524
Member Avatar for cleigh
Member Avatar for cleigh
0
119
Member Avatar for Excizted

Hello :) My program is supposed to load some data into a buffer - but it fails. This is where i get a segmentation fault... [CODE]char* buf = new char[size + 2];[/CODE] Where my debugging tells me that size is correctly containing the value "1957" which is the actual size …

Member Avatar for Excizted
0
189

The End.