Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 11 of 11
Search took 0.01 seconds; generated 3 minute(s) ago.
Search: Posts Made By: al3x
Forum: PHP Oct 1st, 2008, 7:07 PM
Replies: 4
Views: 275
Posted By al3x
Re: Getting variable into hidden field

(...)

</table><br><?php echo $newname ?>
&nbsp;</p>
<input name="h_pic_location" type="hidden" id="h_pic_location" value="<?php echo $newname; ?>">

You forgot about ;
Forum: C++ Sep 17th, 2008, 11:08 AM
Replies: 2
Views: 192
Posted By al3x
Re: How to order by branch?

Honestly, I'm not sure what u tryin 2 do.

If u want those numbers in 2nd field in different order, can't u just use query with different order when pressing 2nd button?
Forum: Community Introductions Sep 14th, 2008, 4:07 AM
Replies: 0
Views: 162
Posted By al3x
Hello

Its about time to introduce myself. Im a huge fan of computers, especially programming.

Got some experience in C++ / PHP+MySQL / HTML / Delphi / VB. Currently doing OpenGL/DirectX/Shaders

Workin in...
Forum: Paid Job Offers Sep 14th, 2008, 3:56 AM
Replies: 4
Views: 655
Posted By al3x
Re: Job Placment - Up to 100K A Year

You pay 100K a year and still $600 (after 6mths?!) for a laptop (or sth) suppose to look good?
Im doin 37K (which is not much) pounds and got 580 pounds laptop after 2 wks :twisted:

nice try though
Forum: C++ Sep 14th, 2008, 3:45 AM
Replies: 7
Views: 270
Posted By al3x
Re: Looping issues

Itll still go through the rest of the code cuz while condition was already checked

Try:

while (books > -1)
{
cout << "\n Chesapeake BookCafe" << endl << endl;
cout << " How many books will you...
Forum: C++ Aug 28th, 2008, 11:41 AM
Replies: 21
Views: 989
Posted By al3x
Re: String to Char Array Conversion

Seems like cin stops after a space char (now speculating) and probably puts the rest of the string in next variable (?). I'm not great if it comes to console apps.

Glad I could help
Forum: C++ Aug 28th, 2008, 11:25 AM
Replies: 21
Views: 989
Posted By al3x
Re: String to Char Array Conversion

instead
cin >> s;
try:
getline(cin, s);
Forum: C++ Aug 28th, 2008, 10:54 AM
Replies: 21
Views: 989
Posted By al3x
Re: String to Char Array Conversion

Looks quite ok to me. Just one thing - you forgot about closing } for while loop :)
Forum: C++ Aug 28th, 2008, 10:36 AM
Replies: 21
Views: 989
Posted By al3x
Re: String to Char Array Conversion

Shouldnt crash I think. Can you post your code?
Forum: C++ Aug 27th, 2008, 9:56 PM
Replies: 21
Views: 989
Posted By al3x
Re: String to Char Array Conversion

if (txtarr[n] = "a") cout << "1";
else if (txtarr[n] = "b") cout << "2";

Use == not =. You're assigning a value instead comparing.
Forum: JavaScript and Client-Side Browser Scripting Aug 27th, 2008, 9:27 PM
Replies: 6
Views: 961
Posted By al3x
Re: remove special character

Not tested but should be workin. The i variable stores current char position so you can do with it whatever you like, keep in mind tho that if you use trim function you will modify orginal string...
Showing results 1 to 11 of 11

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:12 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC