199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for deepakps

this is a small graphical program in c....which gives you a clear discription about what a graphics can do in c..(a simple one)

Member Avatar for Deepak_17
0
176
Member Avatar for grarhakim

Hello gayz, i have a written a screen saver App in C# & WPF, everything is done, the only thing is to exit the screen saver when the mouse move event get fired. if i write: private void Window_MouseMove(object sender, MouseEventargs e) { this.Close(); } the screen saver doesn't starts …

Member Avatar for grarhakim
0
406
Member Avatar for mima79

Hi all! First of all I apologize if I am on a wrong forum but I am using this forum first time. I am new to this field and I have a big problem. I take a class for pseudocode and I have an assignment to create a program that …

Member Avatar for mazharul41
0
705
Member Avatar for michelle.trinsky

Hi, I'm relatively new to C++. I'm trying to search for a double quote and replace it with 2 double quotes ( for CSV format conversion). The code compiles and works fine when Quote is any string. But it freezes when I try to search for a "\"". Help appreciated. …

Member Avatar for mrnutty
0
4K
Member Avatar for devianleong

Hi, How can I loop this out? <input type="text" name="attr[1][value][1][name]"> <input type="text" name="attr[1][value][1][price]"> <input type="text" name="attr[2][value][1][name]"> <input type="text" name="attr[2][value][1][price]"> Any Solution?

Member Avatar for diafol
0
198
Member Avatar for NuGG

I am trying to get a total of all the records for playerid from table1, table2 and table3 by playername. There are 4 tables, table-1, table-2, table-3, and players. I am not great with queries and I expect somebody here can instantly see where I am going wrong. This is …

Member Avatar for ryantroop
0
268
Member Avatar for mythos061

I am having trouble understanding an external sort. I have to code up an implementation for the following below. I have to sort 120 records(they are really just integers), and have a memory restriction of 20 records. So I will have 6 blocks. Let me know if this is right: …

Member Avatar for tinstaafl
0
287
Member Avatar for Motorider

I have a Daily Deals website of which I desire to limit the viewing of one of the product catagories to logged in users only. here is the catagory code. <div class="categories"> <h3><?php echo $array['Categories'];?></h3> <ul> <?php $category_total = num_rows(mkr_select('ig_category','cat_name,cat_id,cat_image','cat_status=1')); $category_select = mkr_select('ig_category','cat_name,cat_id,cat_image','cat_status=1 ORDER BY cat_name ASC LIMIT 0,3'); if(num_rows($category_select)>0) …

Member Avatar for diafol
0
550
Member Avatar for game4tress

I'm creating a chat system and I need to remove every user that did not properly logout (if for instance the computer was shutdown unexpectedly,...), such as some other tasks. One possibility is for each user's script check for inactivity (3 seconds, for instance) of every other user, but if …

Member Avatar for jkon
0
279
Member Avatar for askfriends

hello; i dont know whether this is appropriate forum to ask this question, but after viewing some helping threads i decided to post mine problem and hope you guys will help me. I am a blogger, i upload files and then monetize the links using adfly and linkbucks. But as …

Member Avatar for askfriends
0
861
Member Avatar for dp121307

I started using C++ after learning Python, so I'm very very new to this. I'm writing a program and have 2 files in the project. I have my list.h class and my program. The list.h class, despite the fact that its a given class and should work, is ridled with …

Member Avatar for Ancient Dragon
0
300
Member Avatar for abhijit_2
Member Avatar for lrhimma

hi guys, I got another issue doin my project. Im using Microsoft access as Database. When i need to UPDATE it work and the msgbox displayed: "thank you", but when i looked into the database nothing happened. Anyone can help me to determine the problem? please Thanks in advance. con.Open() …

Member Avatar for kRod
0
161
Member Avatar for suavedesign

my url is [http://www.chailifeline.org/events/letourdesimcha-new/index.php](http://www.chailifeline.org/events/letourdesimcha-new/index.php) How can i get the background image on top to stay as a full background border, no matter how much a user zoom out? it's width is set as 100%. I dont want to see any black background when I zoom out. How do i do …

Member Avatar for suavedesign
0
340
Member Avatar for Jiggle

I was wondering about something: LazyFoo, the author of some amazing SDL tutorials has put copyright on his source code. Does this prevent people from writing functions that are largely, if not entirely similar to his? For example, his 'load_image' function used in a lot of the tutorials is extremely …

Member Avatar for Gabriel_2
0
335
Member Avatar for hallianonline

Hello i need a little solution for a variable in my code its currently printing error messages but i want to keep these error messages so that i can print them any where in my html using this code <?php print_r($messages); ?> becuase currently its printing the error message on …

Member Avatar for Tpojka
0
123
Member Avatar for GlenRogers

I have a form for adding products and their detail to a mysql db. I have another form that shows the products where I can remove the product from the db, I can also hide or show the product in the website. I need to be able to edite the …

Member Avatar for diafol
0
319
Member Avatar for nel gomez

Good day, Just want to ask some help, Please! I always encounter "Cannot find Table 0" when i call Stored Procedure in DB2 using VB .Net with Ole DBConnection Provider. Here is my code: Private Sub cmdPost_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdPost.Click rsSearch = clsDAOMngr.getConfigParam(2) For …

Member Avatar for Begginnerdev
0
591
Member Avatar for jeenalp

Hi friends,anyone wanted to know the c# swap numbers programs in simple way can go through this //C# program to enter two number and swap the number using System; class Program static void Main(string[] args) { int a, b, temp; Console.Write("Enter a value : "); a = Convert.ToInt32(Console.ReadLine()); Console.Write("Enter b …

Member Avatar for Mike Askew
0
335
Member Avatar for Violet_82

Hi guys, I have come across something really confusing, so I wonder if somebody can help me with that. I wanted to increment the width of a container using this version of the `.css()` method: `$( "div.example" ).css( "width", function( index )` as per http://api.jquery.com/css/#css-propertyName-functionindex--value So here is my html: …

Member Avatar for Violet_82
0
457
Member Avatar for tqmd1

Sir, i am using these codes <?php $myusername=""; $mypassword=""; $myemail=""; $mymobile=""; $mycountry=""; $mycity=""; $myage=""; $mygender=""; $myphoto=""; if(isset($_POST['save'])){ require_once("connect.php"); function clean($str){ $cstr=trim($str); $cstr=addslashes($str); $cstr=htmlspecialchars($str); return $cstr; } $myusername=clean($_POST['username']); $mypassword=clean($_POST['password']); $myemail=clean($_POST['email']); $mymobile=clean($_POST['mobile']); $mycountry=clean($_POST['country']); $mycity=clean($_POST['city']); $myage=clean($_POST['age']); if(empty($myusername)) { echo ('<script>alert("User name must not be empty")</script>'); echo '<script>document.getElementById("form1.username").focus()</script>'; } elseif (empty($mypassword)) { echo ('<script>alert("Password …

Member Avatar for pzuurveen
0
120
Member Avatar for centenond

hey guys ! so im learning c, got a question: so say i have a struct of students and inside the struct is name , id , fatherName, motherName. like this struct stds { int id; char name[21]; char fatherName[21]; char motherName[21]; } std[100]; suppose they are 100 stds and …

Member Avatar for centenond
0
191
Member Avatar for vaultdweller123

hello im a little new to htaccess specially mod_rewrite, i know mod_rewrite allows us to rewrite request. Can anyone write me the exact code how to rewrite my path to files?. Before my files(jc,css,images..etc.) reside in example /images/image.png, but now it has a parent directory folder named "public" so my …

Member Avatar for cereal
0
350
Member Avatar for sam wage

I have attached one code of my project and i need a help in that. The code is running without any error but i am stuck up in modifying that how to make a statement, of invalid format of date or time if the user enters the wrong format should …

Member Avatar for Fenrir()
0
213
Member Avatar for TheBludger

Ok this is a basic question. I suspect that I do not know the correct terminology to search for the answer. I am playing in a development environment and this is all about learning and pushing my skills to learn more. My main web site is an HTML Form that …

Member Avatar for TheBludger
0
284
Member Avatar for swati1706

hello everyone.. im trying to insert date into mysql..the field is of date type bt when i select a date from datepicker and insert it into database,it takes a random date..not getting where the problem is.. the code is as follow SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd"); java.sql.Date d = null; …

Member Avatar for pritaeas
0
252
Member Avatar for loya90

hi guys! I deleted my scrit and installed a new script and i cant log in but can creat new users and new Global admin. hav checked my login.php, member/index.php but the codes have no error yet i cant log in. below are my codes **login.php** <?php ob_start(); session_start(); include …

Member Avatar for pritaeas
0
255
Member Avatar for <M/>

These are my queries for an assignment. It says that I made a mistake on query 8 and 9... problem is that I don't see any mistakes? Can someone tell me what is wrong? #T1 SELECT * FROM `inventory`; #T2 SELECT fruitID, sum( quantity ) FROM `inventory` group BY fruitID; …

Member Avatar for pritaeas
0
179
Member Avatar for Learner010

How to create two circle shape (circle shapes will work as token for 2 players ) in snake and ladder game. I can’t see any control for that ? Here is what I’ve done and what I want : I ve created 100 labels and set their `Text` property 1…..100 …

Member Avatar for Minimalist
0
574
Member Avatar for mariners95

I need help with transposing a matrix. I already did the transpose matrix using 2 arrays. But I can't figure out how to do it using only one array. So read a matrix and create the transpose within itself. Do I use the swap or what? Any help would be …

Member Avatar for johnnew
0
400
Member Avatar for quitare
Member Avatar for Learner010
0
130
Member Avatar for Wendy_1

Hi everybody newbie here need help from all the master I want to make loading status using combobox onchange i have code like this <table> <th>Filter By test</th> <tr><td>Contact</td> <td><select name="dropdown" id="dropdown"onchange="showUser(this.value)"> <option></option> <option value="0">All</option> <option value="1">Support</option> <option value="2">Software Development</option> <option value="3">Software Consultant</option> </select> </td></tr> </table> </form> <div class="clr-div"></div> <div …

Member Avatar for ryantroop
0
140
Member Avatar for kerenh

Hi, I am trying to execute a code http://nehe.gamedev.net/tutorial/playing_avi_files_in_opengl/23001/ lesson35 linux code(ubuntu 12.04) i solved all the errors except the warning : deprecated conversion from string constant to ‘char*’ but when i try to execute the code from terminal only a window with white screen is my output with below …

Member Avatar for ruku123
0
110
Member Avatar for bouldermash

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Query As String Query = "INSERT INTO visitor(vid_pass,vname,address,contact_num,status,purpose)VALUES(" + vid_pass.Text + ",'" + vname.Text + "','" + address.Text + "'," + contact.Text + ",'" + TextBox5.Text + "','" + purpose.Text + "');" Query = "INSERT INTO building_transaction(bname)VALUES('" …

Member Avatar for ryanjayson
0
169
Member Avatar for dre-logics

I have a simple question, I have the following menu. Main Menu Sub Menu 1 Sub menu 2 Sub menu 3 Sub sub menu 3.1 Sub sub menu 3.2 Sub sub menu 3.3 I would like to direct if the Form load that "Sub sub menu 3.3" is selected. Is …

Member Avatar for ryanjayson
0
255
Member Avatar for sixtorodriguez

So, I have attached my code below. It worked fine , until I introduced the part to print out what's in the input file. After I did this, it says it's completed, but I doesn't copy the content in the output file. What should I change? Thanks a lot /*Program …

Member Avatar for sixtorodriguez
0
323
Member Avatar for Jemuel

Please help! i am troubling about on how can i execute my sql script properly. Thanks!Here's my code $sql="INSERT INTO inventory(account_number,serial_number,locator,remarks,`date_assigned`) VALUES('$accountno','$serial','$locator','$remarks',NOW())"; $sql.="INSERT INTO action_log(action,username,`date`) VALUES ('assigns the box($serial) to $accountno','$user',NOW())"; $sql.="INSERT INTO account_logs(action_log,account_number,username,`date`) VALUES('Assign','$accountno','$user',NOW())"; if(mysql_query($sql)){echo "Successfully Assigned!";} else{echo "Insertion Failed!";}

Member Avatar for Jemuel
0
211
Member Avatar for electrodelic

**hello peeps and geeks, i am missing the MinSpanningTree function here.. any help please? need to fill up the function to get a) Minimum spanning tree cost for the graph b)Spanning tree path for the graph. E.g in matrix or adjancency list. ** #include <iostream> #include <ctime> // For time() …

Member Avatar for Mouche
0
312
Member Avatar for cmps

Hello, I am using mysql as database, innodb as tables engine. Some of my tables have foreign keys referencing to other tables primary keys. Since the definition of foreign key is to restrict the value of itself, I would like to know if I should check the existence of the …

Member Avatar for diafol
0
213
Member Avatar for belladiluna

Help me please! Need c# code... import numpy from mpl_toolkits.mplot3d import Axes3D from matplotlib import cm from matplotlib.ticker import LinearLocator, FormatStrFormatter import matplotlib.pyplot as plt def zadachaOPrepyatstvii(h, f, fi, xi, sigma, epsilon=0.0000001): m = int(1/h) h2 = h * h u = numpy.zeros(shape=(m+1, m+1)) gamma = numpy.zeros(shape=(m+1, m+1)) prevnormr = …

Member Avatar for vegaseat
0
5K
Member Avatar for dimaash

Hi everyone, I have the following problem: I have a web form which contains ajax accordion. Each accordion pane contains a usercontrol. Each usercontrol consists of several textboxes and 2 buttons. All the textboxes and 2 buttons (inside these usercontrols) are wrapped in the UpdatePanel. Following updatepanels is the UpdatePanelAnimationExtender …

Member Avatar for Mikal
0
553
Member Avatar for Stefce

Hello everyone, im trying to make a registration system with PHP and MySQL but im not going well i just created table and i have writed the code well but there is something wrong the inputs don't send that data into database i have tryed much different ways of doing …

Member Avatar for diafol
0
188
Member Avatar for marin_10

Hi guys, I have question about python. I mean I need a litle help. How can I increase date from date given in file by start after midnight? File looks like: PROGRAMSKA SHEMA ZA PETAK, 13.12.2013. 06:00 ZMBT televoting 06:05 Madhubala, igrana serija, 138. epizoda, r. 06:50 Tajne, igrana serija, …

Member Avatar for vegaseat
0
265
Member Avatar for jacob21
Member Avatar for Ramji_1

hi all, I have common jQuery function for drag and drop and two div tags. Both div tags have different ids but both containing elements of identical ids. I have a block and a placeholder for each so when i drag 'block1' olny placeholder of first table should be blink …

Member Avatar for diafol
0
246
Member Avatar for aslam.junaid786

package abc; import java.util.*; public class TransformCharacters { public static String changeCharacters(String string) { for (int i = 0; i < string.length(); i++) { char ch = string.charAt(i); { if (Character.isUpperCase(ch)) string.replace(ch, '1'); } } return string; } public static void main(String[] args) { // TODO Auto-generated method stub String …

Member Avatar for ObSys
0
204
Member Avatar for ZeroEddy

I was looking through the articles and couldn't find anything to help me. When the user clicks submit and the name is empth I want to display a messege next to it saying username is empty. I van get the message to display but it refreshes and goes away again. …

Member Avatar for ZeroEddy
0
254
Member Avatar for Pratique
Member Avatar for gil857

I'm not a database guru, but I'm planning a database and I'm not sure which solution would be better for the long run ( in terms of query speed ): - A single table that has multiple fields of a set quantity. For example one field might be for a …

Member Avatar for gil857
0
171
Member Avatar for idiotguy

Hi Friends, (i) I'm very new to python.so i wanna know which version of python is suitable for me.I have [I][B]python 2[/B][/I] and [I][B]python 3[/B][/I] in my choices..which one is best for me??? (ii)Also give me the list of GUI toolkits for respective versions.. (iii)which version has the best library …

Member Avatar for Tcll
0
716

The End.