199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for LostnC

Hello. I am a beginner. I have searched the past threads, but I haven't found any help. My assignment says to write a function to swap 2 values using pointers. Write a main function that inputs 2 numbers. Have it call the swap function if the numbers are NOT in …

Member Avatar for deceptikon
0
3K
Member Avatar for PulsarScript

Hi, how can i avoid of key beeing inserted into wrong location.If i do lets say 3 numbers ,5 digits long like 12345,23445,56745 and choose location 45,they will be inserted to location 45,but if try to insert 67452 to the same location it will be inserted,but i need it to …

Member Avatar for StuXYZ
0
199
Member Avatar for diazv2

I want to create a login form by taking the text written on the notepad file in the same folder . is there anything that can help me

Member Avatar for diazv2
0
115
Member Avatar for SkateX

Question: It seems my code won't work while looping. It's a simple password verifier, however entering subsequent passwords will return the same invalid as the previous password. The simple answer might be to set boolean values under the do so they reset everytime the loop runs. But if I do …

Member Avatar for SkateX
0
561
Member Avatar for asaidi

Hi i m trying to update records via array and i m getting this error .. Notice: Uninitialized string offset: 1 in C:\wamp\www\routephp\search_results.php on line 142 <?php if(isset($_GET['van'])){ $van=$_GET['van']; $van = preg_replace("/[^0-9]/", '', $van); } ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Route Database</title> <link rel="stylesheet" type="text/css" href="css/style.css"> <script type="text/javascript"> …

Member Avatar for asaidi
0
5K
Member Avatar for somjit{}

My Program is about Directed Graphs. It reads a list of edges like : `25 589` , and puts 589 into the adjacency list (a linked list) of 25. My input file has about 5 Million such `v w` edges, with about 800K nodes/vertices, for each of which there will …

Member Avatar for somjit{}
0
472
Member Avatar for jez9

I want to backup my database when a changes happen in my system,like for example i add new user/ update/ delete etc. I want to know wether it is possible or not?I'm not a pro user of vb.net that's why everything is still new to me :)

Member Avatar for Santanu.Das
0
464
Member Avatar for billgreene1313

I've been working on a program that generates 100 random, 3-digit numbers and displays the sum of all 100 numbers. For every 10th number displayed, I'm trying to add a message next to the number stating " is the 10th number." So far, I've only been able to display said …

Member Avatar for billgreene1313
0
202
Member Avatar for rony001

I am new to c# .I am having trouble to add a datagridview in the below code. can someone tell me how to do it? thanks using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlServerCe; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace _35c { public partial class …

Member Avatar for rony001
0
889
Member Avatar for cypherscouter13

I am trying to compile the files below. The PosLin.cpp contains the SurTriAuto and SurTriPosRotAndQ functions below. Before adding SurTriPosRotAndQ, it compiled fine, but when I added SurTriPosRotAndQ, I am getting "invalid use of incomplete type ‘struct PosRotAndQ" error messages I was thinking I could try moving SurTriAuto and SurTriPosRotAndQ …

Member Avatar for cypherscouter13
0
443
Member Avatar for Compton11

I'm currently reading about the JVM and how garbage collection works found here: http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/gc01/index.html It discusses both the Mark and Sweep and the Generational garbage collection concepts. After reading through this tutorial, I'm confused on which garbage collection process the JVM actually uses. The whole time, I thought the JVM …

Member Avatar for mike_2000_17
0
221
Member Avatar for bob.clyde.75

I have a code that suppose to prompt a user for thre numbers and output them in ascending order but i get the wrong results for example if i put in 476 it output 764 and i am trying to fix this and add the comments of havigng it prompt …

Member Avatar for iamthwee
0
348
Member Avatar for Dani

This is a program I just recently completed for a computer science course. Given a 2D grid, where every path between two gridpoints has a weight (path length) associated with it, this program computes the shortest path from (1,1) to (m,n). You are only allowed to move up and to …

Member Avatar for mohmedd
0
547
Member Avatar for Apurva1026

column count doesn't match value count at row 1 $objhelperClass->insert(PRODUCT,"`catid`,`subcat`,`pname`,`price`,`sort_order`,`description`","'".$_POST['cat']."','".$_POST['subcat']."','".$_POST['pname']."','".$_POST['amount']."','".$_POST['sort']."'"); $m=$objhelperClass->select(PRODUCT,"1","max(`id`)"); $pid=$m['max(`id`)']; if(is_array($patas)) { foreach(array_combine($patas,$thumbs) as $val => $val1) { //echo $val; $objhelperClass->insert(IMAGES," `image`,`thumb`,`pid`,`link` ","'".$val."','".$val1."','".$pid."' "); } }

Member Avatar for hericles
0
534
Member Avatar for safaklx

I have a question about game programming with c. I should add a background music on my game, and the same time i want to move my character on it. i used that way for solution PlaySound("sample.wav",NULL,SDN_SYNC); playing music ok but i cant move my character...

Member Avatar for safaklx
0
118
Member Avatar for saurabh.mehta.33234

I am want to delete the first line of text file using RandomAccessFile class. My Input file "bulkwfids.txt" has the data as below: 234567 345578 455678 566667 Expected output needs to be(first line deleted): 345578 455678 566667 But the actual ouput I am getting is as follows: 78 56 345578 …

Member Avatar for JamesCherrill
0
1K
Member Avatar for 00Gambit

from tkinter import * from random import randint #Return random color #RRGGBB def getRandomColor(): color = '#' for j in range(6): color+= toHexChar(randint(0, 15)) return color #Convert an integer to a single hex digit in a character def toHexChar(hexValue): if 0 <= hexValue <= 9: return chr(hexValue+ord('0')) else: return chr(hexValue …

Member Avatar for vegaseat
0
176
Member Avatar for Michelle_5

Is there any difference between visual basic 6 and 2010? SAP not working in vb 2010, help! :(

Member Avatar for jhaiyz
0
86
Member Avatar for jhaiyz
Member Avatar for jhaiyz
0
109
Member Avatar for fragrancehello

hi i have a excel file named as myexcel.xsls file and there are 10 sheets in that excel file named as summary,detail,kpi,orders etc etc.In excel sheet summary there are 5 tables in it named as Table1,Table2,Table3,Table4,Table5.Tables are created like I want to get Table1 records into the Data Table so …

Member Avatar for ddanbe
0
677
Member Avatar for nate9603

I've compiled a working program, for whatever reason, is returning 0 values for the output. I'm not sure why this is happening. I've been troubleshooting this for hours and I can't figure it out. Any help would be much appreciated. Here is the full program's code: #include "stdafx.h" #include <iostream> …

Member Avatar for nate9603
0
246
Member Avatar for negru

Hi. How to find index of first letter in every word in a string? For example, input string is: Programming Languages. Output should be: 0 12, those are the indexes of letters "P" and "L". I tried different approach, to print those numbers but that didn work. Thanks for the …

Member Avatar for TalhaMoazSarwar
0
184
Member Avatar for altjen

Hi every one. I post a topic similar with this at mobile development section but posted here too because I need help from a VB.net programmer I want to create a software for my windows phone 8.1 but already stucked on online database. I tried to use this VB code …

Member Avatar for altjen
0
685
Member Avatar for Extorza

Hello all, I have a problem with a program i'm trying to write. I only need 1 more thing to make it work properly, the textboxes that are filled in must be added or overwritten in an existing XML file. I know i need to work with XMLWriter, but i …

Member Avatar for tinstaafl
0
159
Member Avatar for stevenson.nelli
Member Avatar for markdean1989

I just downloaded WAMP 64 bit. Successfully installed. Everything went fine. Problem is, I don't know where to go. Where do I put my codes? Online resources I have read says just create a directory in the root folder or something. Does that mean create a folder in the "www" …

Member Avatar for pixelsoul
0
132
Member Avatar for wegdan

i need to connect the data grid to access db using ado code and vb6 (without using adodc control)and diplay the result of a select statemet on it and here is the code that i am using (it give me a run time errorr 3705 : the operation is not …

Member Avatar for jhaiyz
0
4K
Member Avatar for Shanu_1

i am in need of coding for retrieving data from access database using combo box, which means retrieing the stored particular details that for eg, retrieving particular students details using the students id that is retrievied by combo box.

Member Avatar for jhaiyz
0
93
Member Avatar for Samyx

Hi guys, I am trying to create a login page using apache mod_auth_form to authenticate users. Once the user is authenticated he/she should be able to access the main page. # my public directory: # C:/webroot/ regtrack_newSG.php # my protected directory: # C:/webroot/myapp/ regtrack_studysiteone.php # my password file: C:/Apache24/passwd/passwords # …

Member Avatar for cereal
0
2K
Member Avatar for GlenRogers

I'm trying to use fullPage.js but its only ever showing my first section! I have my sections set up like this <div class="section"> Section 1 </div> <div class="section"> Section 2 </div> <div class="section"> Section 3 </div> and I inatlize like this <script> $(document).ready(function() { $('.wrapper').fullpage({ sectionsColor: ['blue', 'red', 'green'], }); …

Member Avatar for gentlemedia
0
411
Member Avatar for boddupallianvesh

i am working on a project. i have database and it has 20 coloumns for each row. i display rows in form of table. in table i am retrieving data from database and displaying it. <% While(special.next()){ %> <ul class="features"> <li><%= special.getString("company")%></li> <li><%= special.getString("catagory")%></li> <li><%= special.getString("place")%></li> <li><%= special.getString("verified")%></li> <li><%= special.getString("phone")%></li> …

Member Avatar for milil
0
2K
Member Avatar for ebaum2112

i am trying to make a checkerboard that centerss automaticly no matter what the sideLength is. also i am tryiing to put the checker in the squares...im only a beginner!!!! have mercy heres what i have [code] def drawCheckerBoard(myTurtle,sideLength): myTurtle.speed(0) for i in range (8): myTurtle.forward(sideLength) myTurtle.right(90) myTurtle.forward(sideLength) myTurtle.right(90) myTurtle.forward(sideLength) …

Member Avatar for ilona.lizard
0
225
Member Avatar for glao

Hello , I found this puzzle : typedef struct { int dd[ 5 ]; int tx; } node; node * A = new node[ 10000 ]; for ( int i = 0; i < 100000; i++ ) { for ( int j = 0; j < A[ i ].tx; j++ …

Member Avatar for glao
0
156
Member Avatar for Sara_9
Member Avatar for Bensirpent07

I feel like this is a very dumb question but please excuse me if there is an obvious answer. I have just recently seriously dug into JQuery (loving it by the way). Anyways in the code below you can see I have the color to animate to white and green …

Member Avatar for Bensirpent07
0
350
Member Avatar for enterdani

The code works to send the email with link included bu the URL does not open. Can anyone help? //Send Email For Account Confirmation $s_web="http://".$_SERVER[HTTP_HOST]; $message="Please activate your account by running this link:"."\n\n"; $message.=$s_web.'/confirmaccount.php?code='.$encryptpass.'&id='.$id."\n\n"; $headers = 'From:'.$s_mail."\n" . 'Reply-To:'.$s_mail."\n" . 'X-Mailer: PHP/' . phpversion(); mail ($emailaddress,'New Account Confirmation',$message,$headers); } mysql_close($connect);

Member Avatar for pixelsoul
0
401
Member Avatar for Tcll

as the title states, I know runpy can run a module's code w/o importing it, but what I'm trying to do is send the module object to a... function supplied by my interface which is directly called by the module. what I'm talking about is: my interface provides these functions …

Member Avatar for Tcll
0
543
Member Avatar for mdev

Hi again people, i have a datagridview with "Persons" hosted in a xml file. When i click ShowData button i get the "Persons" in datagridview. Also have a textbox control to filtering : private void toolStripTextBox1_TextChanged(object sender, EventArgs e) { try { //this code is used to search Name on …

Member Avatar for mdev
0
133
Member Avatar for jelly46

How to pass link data from one page to another page using querystring in asp net This link would be set up something like this: http://.mywebsite.com/site/TR?fr_id=1131&pg=entry?utm_source=______&utm_medium=_______&utm_campaign=ABCD2015 When it is clicked, the code implemented needs to pass the source and medium info (facebook /social) into the gaps (_____) in link url. …

Member Avatar for jelly46
0
378
Member Avatar for mdev

Hi again people, Who knows how to show value of the selectedRow in DataGridView on a messageBox? Thanks in advance.

Member Avatar for mdev
0
3K
Member Avatar for AntonyRayan

Hi every one, I want to take a photo by using webcam , and I want to store it in db and finally I want to view it. How to do? Its urgent.

Member Avatar for almostbob
0
105
Member Avatar for mdev

Hi People, im new here. I have a app to register CandidatesForJob.. i have a datagridview and i load data from xml file. I Have a object with data. But my boss sad me to associate each row to my object. Who can help me? That button , open my …

Member Avatar for mdev
0
171
Member Avatar for negru

Hi. I need help finding the longest word in a string. How to return last longest word if there are two or more words with the same (longest) length? My code: #include <stdio.h> #include <string.h> int main() { char string[100], word[20], max[20], min[20], c; int i = 0, j = …

Member Avatar for deceptikon
0
10K
Member Avatar for amogh.max

My code performs separation of "**S12*T0*0832*B*86*N1C0~**S12*T0*0832*B*86*N1C0~"...Next i need to separate data between the "*" and utimately insert it into the database(ms-Access).i would like to recieve some code lines for that. Basically now the entire string i.e"**S12*T0*0832*B*86*N1C0" is being inserted into a column.i need to insert "S12" "T0" etc into separate …

Member Avatar for JamesCherrill
0
185
Member Avatar for anumash

I have just started developing and writing linux kernel modules and device drivers. I am having a lot of trouble understanding new data types that I haven't encountered while writing application programs. For instance, I am having difficulty understanding what is the purpose of size_t, ssize_t, loff_t etc? Why use …

Member Avatar for mike_2000_17
0
254
Member Avatar for AmrMohammed

Greetings, I am new in Java programming language and I know that there are four platforms of the Java programming language Java Platform, Standard Edition (Java SE) Java Platform, Enterprise Edition (Java EE) Java Platform, Micro Edition (Java ME) JavaFX I already read about the four platforms through the below …

Member Avatar for JamesCherrill
0
195
Member Avatar for subbu_1

'HTML' form <form action="result.php" method="POST"> <input type="search" name="query" size="10" id="searchfield" title="searchfield" /> <input type="submit" name="Search" value="" alt="Search" id="searchbutton" title="Search" /> </form> result php file <?php @session_start(); include 'connections.php'; if (isset($_POST['query']) && $_POST['query'] != "") $query = $_POST['query']; $min_length = 1; if(strlen($query) >= $min_length) { $query = htmlspecialchars($query); $query = mysql_real_escape_string($query); …

Member Avatar for subbu_1
0
528
Member Avatar for DS9596

The output comes out wrong it should be different: //This is what I have Enter a sentence: Today Is Thr Jan, 2015 Number of uppercase letters.........2 Number of digits....................2 Number of vowels....................2 Press any key to continue . . . //The output should look like this: Enter a sentence: Today …

Member Avatar for SalmiSoft
0
207
Member Avatar for darrylnuyda

Hi everyone, Can you help me ?? how to install a laravel-master PHP Framework, Using the XAMPP? I tried to install but I failed. Also, watching youtube video tutorials but their example is WAMPP server. In my part Im capable in XAMPP cause this is my practice in my web …

Member Avatar for Le_1
0
1K
Member Avatar for Papa_Don

I need to identify how the code identifies that a file is at the "eof" (end of file). Here's why: On Monday's, I'm having to combine text files created over the weekend that will eventually be read and pulled into an Excel spreadsheet (generally there are three files). Using VB.net, …

Member Avatar for |-|x
0
448

The End.