Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
20% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
0 Endorsements
Ranked #2K
~6K People Reached
Favorite Tags
Member Avatar for tformed

is there any way one could do a square root program without sqrt or pwr functions? Any tips? I am not asking for code btw.:)

Member Avatar for vmanes
0
3K
Member Avatar for davy_yg

Notice: Undefined variable: confirmation in C:\xampp\htdocs\RustoleumCustomCMS\administrator\admin.php on line 126 if (!empty($_REQUEST['id']) && !empty($_REQUEST['mode'])){ if ($_REQUEST['mode'] == "delete"){ $id = $_REQUEST['id']; $result = mysql_query("DELETE FROM static_page WHERE id =".$id) or die(mysql_error()); $confirmation = ($result) ? "Data telah terhapus." : "Gagal menghapus data."; } } ?> <div align="center"> <div style="width:700px;text-align:left;padding-top:5px;"> <?php echo …

Member Avatar for davy_yg
0
215
Member Avatar for manishanibhwani

in the following code how does the compiler comes to know that it has to call the postfix function class Digit { private: int m_nDigit; public: Digit(int nDigit=0) { m_nDigit = nDigit; } Digit& operator++(); // prefix Digit& operator--(); // prefix Digit operator++(int); // postfix Digit operator--(int); // postfix int …

Member Avatar for admin1982
0
158
Member Avatar for mktrx

Got a problem that has completely stumped me... am hoping the combined wisdom of the forum could assist... I have a php script that enables a user to follow and unfollow items on a site... Am doing this with a table that captures basically the user's id and the item …

Member Avatar for iamthwee
0
289
Member Avatar for manishanibhwani

can anyone tell the output of following code and also explain it #include<stdio.h> #include<stdlib.h> union employee { char name[15]; int age; float salary; }; const union employee e1; int main() { strcpy(e1.name, "K"); printf("%s %d %f", e1.name, e1.age, e1.salary); return 0; }

Member Avatar for I_m_rude
0
104
Member Avatar for manishanibhwani

if I write the following code.. float a =1.3; double b=1.3; if(a>b) printf("hii"); else printf("hello"); the o/p comes hii...but if I change the values to 1.7 the output comes hello...can any1 explain the reason????if precision is to be taken into account then everytime double should be greater..

Member Avatar for rubberman
0
143
Member Avatar for manishanibhwani

int n; scanf("%d\n", &n); printf("you typed %d\n", n); it seems to hang until I type one extra line of input....Can anyone explain this behaviour

Member Avatar for WaltP
0
174
Member Avatar for pooh1234qwerty

char str[]="qwerty"; char *p="qwerty"; str++; \\error *str='a'; \\works p++; \\works *p='k'; \\error whereas, char str[]="hello"; char *p="hello"; str="tell";\\ error p="tell"; \\works strings point to themselves like arrays then why is str="tell"; \\error an error?? is the case same for arrays?? please explain the reason for every line. also, why can't …

Member Avatar for deceptikon
0
120
Member Avatar for nida.lodhi.7
Member Avatar for manishanibhwani

can anyone tell me whether we can use const variables for case ...eg I wrote the following code: const int i=2; int j=0; switch(1) { case i:printf("hii"); } now ...this snippet is running properly in turbo c but not in dev cpp... likewise if we use this const variable as …

Member Avatar for deceptikon
0
186
Member Avatar for rithish

#include <stdio.h> #include <stdlib.h> void main() { int n,i,p; printf("enter the no: "); scanf("%d",n); for(i=0;i<n;i++) { p=i*i if(p==n) { scanf("the square root of %d is %d",n,i); } } } its not working error at if(p==n)

Member Avatar for rubberman
0
360
Member Avatar for manishanibhwani

if we print a float using %d garbage value is printed....but if we scan a float value using %d & int...the value gets truncated...What is the reason behind it...

Member Avatar for deceptikon
0
138
Member Avatar for manishanibhwani

When is the garbage colletor called in c...Like in the following code int main() { int *i; int *fun(); i=fun(); printf("%d\n",*i); printf("%d\n",*i); } int *fun() { int k=12; return(&k); } the address being returned is of a variable that is no longer available....but printf statement prints 12 first time and …

Member Avatar for manishanibhwani
0
103
Member Avatar for manishanibhwani
Member Avatar for sepp2k
0
112
Member Avatar for manishanibhwani

hello everyone, I am developing an application for my project... My application works correctly when I run it on applet viewer...But when i try to run it with the help of html page ..the code does not run and gives an erron java.security.accessdenied exception.... Actually i have loaded an image …

Member Avatar for manishanibhwani
0
155
Member Avatar for manishanibhwani

i m unable to interrpret my package from any other drive???? i mean ..i hav created my package, compiled it bt unable to run it... can anyone tl d way of running it or setting the path... the coding is done in command prompt

Member Avatar for NormR1
-1
95
Member Avatar for manishanibhwani

can anyone suggst a link where i cud find the list of various packages and classes already defined in java library

Member Avatar for Ezzaral
0
68
Member Avatar for manishanibhwani

hiii, i want to ask .. why do we basically use servers.. wat is the basic requirement for making of servers and wat r the mainly used servers and their advantage.... sry if my question is tooo easy but i m unable to get a satisfactory answer for this questio.. …

Member Avatar for servertoday
0
86
Member Avatar for 9122080

Hi guys, I do need a c++ programm which may "Count vowels in monosyllabic,two syllable and longer words within a string/sentence" bye.

Member Avatar for niyasc
-5
243
Member Avatar for Ihatepullups

Hello, this is my first time here, although I have hit this website many times on google looking for quick fixes to my problems. I am a student in high school and I persuaded my teacher to let me study c++ (as opposed to 3ds max). I have been working …

Member Avatar for niyasc
1
107
Member Avatar for manishanibhwani

in one of the question for beginners a program for moving a file was asked. i cud not find the algo can anyone suggest me the algo????????????

Member Avatar for Ancient Dragon
0
194
Member Avatar for Skeen

So I'm quite new to c++, and I'm really into pointers, does anyone got like, an idea on how to really get to know pointers, assignments, tasks, tutorials, ect. Basically, my knowledge in C++, is classes, operator overloading, and like simple stuff, so if you're able to come up with …

Member Avatar for manishanibhwani
0
90
Member Avatar for mythili_sharon

i need the difference between i++ and ++i, where is i++ used and where ++i is used

Member Avatar for manishanibhwani
0
138