- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
student
- Interests
- IT,football,foreign languages,music
Re:
With regard to C++ books, I'll just echo the advice here .The following books are recommended; read them in mostly the order listed." Accelerated C++ " Andrew Koenig & Barbara Moo " The C++ Standard Library " Nicolai Josuttis --- a "must have" " Effective C++ ", " More Effective … |
|
Re:
I am kinda new to world of c programming, and i have been assigned a problem that is written as follows: Write a procedure that counts the number or words in a string. Write a program to test your new procedure. I am kinda lost on this completely. Any help … |
|
Re:
I have been experiencing problems in using the gets() command in C. Whenever I use it twice followed by scanf for eg: [code] char name[20],add[20]; printf("Enter name : "); gets(name); printf("Enter address :"); gets(add); printf("Enter age :"); scanf("%d",age); [/code] Here it skips name.(doesnot take input of name!) It doesnot input … |
|
Re:
hello all, i have a php page in which user added certain combinations and clicks on add. when added, i create a array which stores the values and user can add multiple rows. if ($action=="Add") { $Arr[] = array ( "scopeid" => $scopeid, // values are comma seperated e.g 1,5,6 … |
|
I have one or more functions separate from main() , that besides the return value , must also return the time it tooked to process. How can I do that ? |
|
Hi guys , In Visual Studio 2005 I compiled the following code [CODE] int main() { float a; a=0.1; if(a<0.1) { printf("C\n"); } else { printf("C++\n"); } } [/CODE] I was very surprised when I saw the output C++ . I got the warning C4305 :" '=' : truncation from … |
|
Re:
I have a PHP script that is a combination of a purchased script and my own programming. It is a mess right now and not easy to work with at all. Basically, the purchased script is one that will merger PDF files into one and let the user download the … |
|
Hey guys , While playing with jquery i've come across the following situation : [code] $(document).ready(function(){ $("div")[0].css("background-color","blue"); }); [/code] I get an error everytime i try to call any method on a particular element from the wrapper set . I tried with the get() [code] $("div").get(0); [/code] Same stuff . … |
|
Re:
Can anyone help me write a program that will print a sentence using 5 different words that are in 6 different array's based on a random number generated by the computer. Right now my code will print 5 sentences using each elimate from each array, but it doesn't pick the … |
|
Re:
Anybody know if there's a way to pull gas prices from any of those gas price websites, so I can display them on my own page? I didn't know if there's a way to tap in to their source or if they provide some sort of way to do that. … |
|
How can I have a post quick reply textarea , just like the one on daniweb , in a phpbb 2.0 ? Do you know/have a mod that does that ? |
|
Re:
Peace, I made a mail form and I want to enable The HTML in the Mail Message, How can I do it?... I wrote in the headers: $headers='From:Management<[EMAIL="info@3malas.com>'"]info@3malas.com>'[/EMAIL]; |
|
Re:
hello all, Im trying to dynamically insert text onto a page by inserting a value from a query string using php. This was simple enough when i wanted to insert the entire value, but im having trouble finding information on how to search the value for a word (from a … |
|
Re:
so, i started at php and i'm doing some exercises from the book, but when i type this code into my "view.php", the output is all wrong...[code=php] <?php include("dbconnect.php") ?> <h2>View my GuestBook!!</h2> <?php $result=mysql_query("select * from guestbook") or die(mysql_error()); while ($row=mysql_fetch_array($result)) { echo "<b>Name:</b>"; echo $row["name"]; echo "<br>\n"; echo … |
|
Re:
Dear members, can any body plz help me out to insert image file in MySQL.......is it possible ???????? [B]If possible plz give me the code............[/B] |
|
Re:
I'm trying to mail a newsletter to a list of people, but I get an error every time it tries to mail. Anyone know what I'm doing wrong? [code=php] <?php $file = fopen("upload/newletter.html", "r"); $sub = fopen("to.txt", "r"); $x = 0; $y = 0; while (!feof($sub)) { $names[$x] = fgets($sub); … |
|
Re:
Hi guys, Please, I need your help. I made a web site with a login page. In my laptop it works perfectly, bu when I move the site to other computer, and I put the user name, the password and submit it doesn´t move to the next page. I´m using … |
|
I have a list of users(signed for a newsletter).I'm retrieving the list from a database when the admin clicks on a button. [B]There are maximum 10 users diplayed per page[/B].For example,if I had 30 users in the database,I would have 3 pages of users(Page 1,2,3); [B]For each listed user ,I … |
|
Re:
I want tht whn a user is logeed in,the user can see a page.hw it can be done in php..as: [CODE] if($valid_user==1) echo "You are logged in"; else echo "Enter again"; [/CODE] In ths code I want tht whn the valid_user has value 1 the control shld be directed to … |
|
Re:
i want to take this: Label: Supreme Records Catalog#: S 512 Format: Vinyl, 7" Country: Belgium Released: 1972 Genre: Rock Style: Pop Rock Credits: Producer - Gus Dudgeon Notes: Rating: No votes yet. Rate It Submitted by: Evilist from the site : [url]http://www.discogs.com/release/479714[/url] pls show me how to code it |
|
Re:
Is there any problem wid ths code? [CODE] $name=$_POST['txtusername']; $password=$_POST['txtpw']; $result = mysql_query("SELECT username,pw FROM login"); while($row = mysql_fetch_array($result)) { if($name=$row['username'] && $password=$row['pw']) $valid_user = 1; else $valid_user = 0; } if($valid_user=1) echo "You are logged in"; else echo "Enter again"; [/CODE] |
|
Re:
[code=php] <?php if ($id == 1 && $lang == 1) { echo "hello"; } ?>[/code] hey guys i am working for my final year project. i have a problem. when i tried to run this url on my pc [url]http://localhost/filename?id=1&lang=1[/url] it wouldn't work.... but when i tried this on my … |
|
I'm looking for a C++ book with exercices(solved),practice or something like "tips and trips of c++ language" cause I need to prepare for the exam. If someone know's a kind of this book , pls reply.I searched google , but didnt found what i want |
|
The following cod,when I press the [I]SUBMIT[/I] button , I get [I]"[COLOR=Red][COLOR=Black][B]Forbidden[/B][/COLOR], You don't have permission to access /< on this server[/COLOR]." [/I][code] <html> <head> <title> The Internet Joke Database </title> </head> <body> <?php if (isset($_GET['addjoke'])): // If the user wants to add a joke ?> <form action="<?=$_SERVER['PHP_SELF']?>" method="post"> <p>Type … |
|
I have a class , named Set,and I want to overload the operator - so I can get the difference between 2 Set object. [COLOR=Blue]i.e. A={1,2,3,4} , B={ 3,4,5,6} , A-B={1,2} [/COLOR] In header file I declared the operator function like this : [code] Set operator-(const Set & ) ; … |
|
I have 2 desktops ,with 3 network cards and Win XP.I want to connect them so i can share my files and internet connection,only that I'm getting "[COLOR=Red]A network cable is unplugged". [COLOR=Black] I did everything : make crossover cables,run the network wizard , u name it ... but still … |
|
[URL="http://img218.imageshack.us/my.php?image=sketchmh1.gif"][URL=http://img513.imageshack.us/my.php?image=sketchlw8.gif][IMG]http://img513.imageshack.us/img513/8739/sketchlw8.th.gif[/IMG][/URL][/URL] I have something like this : The reallocation of a piece of memory that works like a circular queues I've made a sketch explaining this ,I hope , very clearly I just need a clue,a tip,something that will get me started , because right now I'm stucked Thx |
|
Re:
hi all, hope you guys are doing fine. i need a help. can any of you tell me where I can download free ebooks. i am particularly looking for "data structures in c++ by tanenbaum". please help me. thanks |
|
Re:
Hi all, I looking for somebody to help me through a final class program. I would be happy to pay somebody to tutor me through this or make a donation. I am not looking for somebody to just give me the answer, but I DEFINITELY need help. It is due … |
|
Re:
Well the program takes a string of text and then turns it into title case (first letter or every word is capitalized). So I got it working as you see, the problem is I need to write a seperate function that can simply accept the string to be converted as … |