- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 22
- Posts with Upvotes
- 14
- Upvoting Members
- 16
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 3
http://ae.linkedin.com/in/mmeabed
- Interests
- PHP,JS,LAMP
- PC Specs
- HP Pavilion dv6500ee
112 Posted Topics
Better way to find String in PHP ! instead of substring and other php function , This function takes Start and End , and it will return the String in between in another variable ! you can call it easily :) ![]() | |
Re: i think that you can use enum it is as structure but enum list the elements by index as array .. for example enum days_of_the_week ={sat,sun,mon,tue,wed,thu,fri }; there for .. sat has the value 0 and sun = 1 and mon = 2 and so on .. so if u … | |
hi guys .. i wanna know how to configure phpmailer .. and using Stmp .. :) thnx in advance ![]() | |
This is CURL Ready function , to use it just call do post if the page you are calling has post variables , or get if it has get variables :) | |
Re: #C++ : One-Hour Overview ##(1) User-Defined ADT (Abstract Data Types) e.g.: "enum" creates a user-defined type. enum Months { JAN = 1, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC }; Months x,y; x = FEB; y = DEC; "struct" creates more flexible user-defined types. How to … | |
Re: Opening and Parsing a file We will use the function fopen to open a file (the c source file for this section). Then we will use the fscanf function to read the file word by word. Note that in c a string is a character array (whose last element is … | |
Re: see this example dude ;) [code] int main() { int num; do{ cout << "Enter a number between 1 and 10"; cin>>num; }while( num < 1 || num > 10 ); /* ask some more if we dont get something between 1 and 10 */ double factorial( num ); for( … | |
Re: hi all. . [code] for ( int i =0; i >10; i++; ) { do something } [/code]here i will be 0 in the first time code run .. thats mean the code will be done 10 times [code] for ( int i =0; i >10; ++1; ) { ` … | |
Re: Array An array is a collection of like objects. The simplest case of an array is a vector. C++ provides a convenient syntax for declaration of fixed-size arrays: [CODE]decl-specifiers dname [ constant-expressionopt ] ;[/CODE] The number of elements in the array is given by the constant-expression. The first element in … | |
Re: [B]Embedding the Windows Media Player[/B] this is for IE ..only .. ther is another ways for if u r using another browser .. just PM me ;) There are two ways to play a streaming media file. The first one is through an external Media Player. If you haven't install … | |
[edit] This code was originally posted [URL="http://www.programmersheaven.com/dow...3/ZipView.aspx"]here [/URL][/edit] The problem is to find all ways of placing n non-taking queens on a n by n board. A queen attacks all cells in its same row, column, and either diagonal. Therefore, the objective is to place n queens on an n … | |
Re: LOL ... right ... show ur efforts then we can help:D | |
Re: check this link ;) [url="http://www.cpp-home.com/tutorial.php?17_1"][CODE] [/url][url="http://www.cpp-home.com/tutorial.php?17_1"]http://www.cpp-home.com/tutorial.php?17_1[/url][url="http://www.cpp-home.com/tutorial.php?17_1"] [/CODE] [/url] | |
Re: You must recieve CD for this device and should install it or search for the driver in this site [URL=www.driverguide.com]Driverguide[/URL] or check your bois setup .. okay :D | |
Re: You can use this link to find any missing dll files [URL=http://www.santanacreations.com/needed_files.html]Dll files[/URL] | |
Re: [B]Overview[/B] Serial communications in Microsoft® Win32® is significantly different from serial communications in 16-bit Microsoft Windows®. Those familiar with 16-bit serial communications functions will have to relearn many parts of the system to program serial communications properly. This article will help to accomplish this. Those unfamiliar with serial communications will … | |
Re: void qsort ( void * base, size_t num, size_t width, int (*fncompare)(const void *, const void *) ); Sort using quicksort algorith. This function uses an implementation of the quicksort algorithm to sort the num elements of an array pointed by base, each element has the specified width in bytes. … | |
Re: show your code ? | |
Re: I Don't know what the program about .. and what the last function about ? maybe u must define the fuction to make it work . then you must declare the variables inside it .coz those variables are declared as local variable in main().. | |
Re: really i dont see that thhis importance for posting tutorial in Switch this is poor .. but np study hard ;) | |
Re: Try this this really good :) [code] #include "StdAfx.h" #include "winaddrbook.h" CWinAddrBook::CWinAddrBook(void) :lpWABObject(NULL), lpAddrBook(NULL) , IsInit(false) { //Opens the default WAB file in the system and loads it into the object HINSTANCE hinstWAB=NULL; HRESULT hr=E_FAIL; HKEY keyResult; BYTE keyValue[MAX_PATH]; DWORD dataout=800; RegOpenKeyEx(HKEY_LOCAL_MACHINE, WAB_DLL_PATH_KEY, 0, KEY_ALL_ACCESS, &keyResult); //"Software\\Microsoft\\WAB\\DLLPath" long result = … | |
Re: This is what I do to accomplish the task of disabling the cache.. The head tag at the end of the document is important! [code] <html> <head> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="-1"> </head> <body> Body stuff </body> <HEAD> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="-1"> </HEAD> </html>[/code] | |
Re: Sablotron is a fast, GPL or MPL licensed XSLT engine fully implemented in C++. It uses the well-known Expat XML parser (included with the source code). It is available at its creator web site : [url]http://www.gingerall.com[/url]. Okay, now you may ask : what is an XSLT engine, and what does … | |
hi all .. this is intorduction to an anonymous classes, An anonymous class is one that doesn't have a name. In the following example, both structures inside the TRectangle union are anonymous classes: Here is an example of running the program: You want to identify your rectangle by its location … | |
The problem is to find all ways of placing n non-taking queens on a n by n board. A queen attacks all cells in its same row, column, and either diagonal. Therefore, the objective is to place n queens on an n by n board in such a way that … | |
hi all .. this is intorduction to an anonymous classes, An anonymous class is one that doesn't have a name. In the following example, both structures inside the TRectangle union are anonymous classes: Here is an example of running the program: You want to identify your rectangle by its location … | |
<<snip>> Original article can be found: here: [URL="http://www.geocities.ws/jeff_louie/safearray.html"]http://www.geocities.ws/jeff_louie/safearray.html[/URL] | |
[I]<<snip>> [/I] Original article can be found here: [url]http://www.cs.cmu.edu/~gilpin/c++/performance.html[/url] | |
Re: Actually its not possible , but you could make small trick to solve it , as i did in some projects i was working on :) first i made hidden inputs in my php file , then in the javascript i getElemetbyIDvalue , and then i assign the value to … | |
[font=VERDANA, ARIAL, HELVETICA, SANS-SERIF][size=1]How do you make a class accessible from a dynamic link library? It is a commonly asked question with a solution that is surprisingly simple. In this article I will show you how to do it in Visual C++. [/size][/font] [font=VERDANA, ARIAL, HELVETICA, SANS-SERIF][size=1]First, you need to … | |
Re: [url]http://www.microsoft.com/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/sag_DNS_ovr_Tools.asp[/url] check this link dude ..:) | |
Re: it work fine here , on firefox and IE 7 , but am gonna tell you advice , design your pages on Firefox first and it must work good on IE because Firefox uses web standard . plus the most problems in FireFox coming from miscalculate the height , width … | |
Re: i don't get what do you mean ? you are using sql , or some sorta of database or what ?? what is ( category also called (test) ) ? | |
Re: read this XML tutorials , its simple intro and will guide you [url]http://www.w3schools.com/xml/default.asp[/url] | |
Re: well , i see its better for you to use <div> tags in all your codes , ( put the outer box in div , and the inner box div and deal with them ) | |
Re: Linked Lists really i amnot ready to read all of these lines of code but i will try to give you good explanation about it . A linked list is an algorithm for storing a list of items. It is made of any number of pieces of memory (nodes) and … | |
Here is a quick and dirty tutorial for UNIX sockets. By no means it is complete but after reading it, man pages start making sense. Oops two seconds already wasted lets dive into the topic thanks to Delip Rao......:D:D | |
Re: k .. continue what u r doing ?? what is the other fucktion that u want .. and write it .. i dont see any something hard in this code .. if u have say where r u stuck ?? | |
Re: Good point! Perhaps no user in the world can move a mouse that fast under normal conditions—but hey, it could happen! And in the old days of Windows 3.1, it may have been more likely. This is why Windows does, in fact, provide a way to get the mouse coordinates … | |
Re: Pointers and Memory Allocation When declaring a variable, the type given is the type of any expression which looks like the declaration. Thus, if we have the declarations [CODE]int a, *b, c[], *(*d[])(); [/CODE] then, in the code, the expressions [CODE]a, *b, c[] and *(*d[])() [/CODE] would all evaluate to … | |
Re: Try to install windows 98se and save your settings then you won't lose anything of your information ..:D | |
Re: Hi .. look if u want to remove "winodws me" and u have windows xp .. log in xp and remove the directory of windows me and open c:\boot.ini and remove the link for winodws me ... is it okay? | |
Re: Try to download runtime c++ files from this site :) [URL=www.htk.fi/public/akirjavainen/download.htm ]Runtime[/URL] | |
Re: [B]How to create an RMI system[/B] [B]Intro[/B] In this article, I lead you through the process of creating a very simple RMI system. (This example was inspired by the RMI demo in Orfali and Harkey's book on CORBA; I thought it was still too complicated, so I've taken the simplification … | |
This is a short list of recommendations on how to use C++. My experiences are from using gcc 2.8.0 and Visual C++ 6.0. I had to have things compatible between these two compilers, and between Unix and Windows. [b]Contents[/b] [color=#800080]IO of binary files[/color] [color=#800080]When are destructors called for local variables[/color] … | |
| |
[font=VERDANA, ARIAL, HELVETICA, SANS-SERIF][size=1][font=VERDANA, ARIAL, HELVETICA, SANS-SERIF][size=1][font=VERDANA, ARIAL, HELVETICA, SANS-SERIF][size=1]Having bugs in your code may be unavoidable, but crashing [i]*is*[/i] avoidable. Barring cosmic rays playing yahtzee with your memory there is no reason why your program should ever crash. Crashing is totally avoidable![/size][/font] [font=VERDANA, ARIAL, HELVETICA, SANS-SERIF][size=1]What do I mean … | |
Re: [b][size=1]the program displays the binary code for integers up to 32,768 in[/size][/b] [code]#include <stdio.h> #include <stdlib.h> void main( int argc, char *argv[] ) { int arg1, x; if( argc == 1 ) { puts( "BINARY num = displays num in binary form." ); exit( 1 ); } arg1 = atoi( … | |
Re: this the game i made since i started learnin' C++.. try to understand how to use Up and Down Arrows in directionS . ---------------------------------------------------------------------------------- [php]/**********The "CAUGHT IN THE MIDDLE" game******************/ /Author : mohammed meabed*****************************/ /Email : meabed@gmail.com*****************************/ #include<iostream.h> #include<conio.h> #include<graphics.h> #include<stdlib.h> #include<dos.h> #include<stdio.h> enum dir direction; /*indicates the direction of … |
The End.