199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Clearner123

Hi, I have this doubt i have read that "We must declare c to be a type big enough to hold any value that getchar returns We can't use char since c must be big enough to hold EOF in addition to any possible char. Therefore we use int." it …

Member Avatar for Clearner123
0
134
Member Avatar for cannon_1

hi i have a unknown string in c++ containing "\n" "\t" etc. say; string unknown1="\n\t\n\t\n\n\n\n\n"; now I want to print "\n\t\n\t\n\n\n\n\n" to the screen explcitly other than a bunch of empty spaces.... how should I do that? remember that I don't know what is in unknown1...

Member Avatar for tinstaafl
0
484
Member Avatar for ivylyn

guys help me what are the possibly software deveopment to be used if i create an online virtual home designing? c++,java or vb.net? please answer my question..please please

Member Avatar for ivylyn
0
186
Member Avatar for kayecng

In my windows form, I have a combo box which is populated with (part code)values from my database and I'm finding it hard to set each equivalent (part name)value to a text box which is in the same table. I was able to populate combo box values using the code …

Member Avatar for kayecng
0
2K
Member Avatar for akuikhwan94

My tables in MS Access doesn't have any change which it did not update the record that I entered in Visual Studio.. This is my code. Private Sub btnSubmit_Click(sender As Object, e As EventArgs) Handles btnSubmit.Click On Error GoTo saveErr RequestSoftwareBindingSource.EndEdit() RequestSoftwareTableAdapter.Update(FYPDataSet.RequestSoftware) MessageBox.Show("Your request has been submitted.", "Thank you", MessageBoxButtons.OK, …

Member Avatar for djjeavons
0
498
Member Avatar for jeremywduncan

Exercise 11.1. Write a function that reads the words in words.txt and stores them as keys in a dictionary. It doesn’t matter what the values are. Then you can use the in operator as a fast way to check whether a string is in the dictionary. Trying to figure this …

Member Avatar for Mohammad_19
0
3K
Member Avatar for devils_knot

I'm having trouble with my pagination using grid view if the datasource is in Page_Load event. But when I manually use the GridView -> choose datasource in its property, I don't have any problem with the pagination. I'm using the Page_Load event because there are some parameters. Please help and …

Member Avatar for JerrimePatient
0
291
Member Avatar for adnan_6

I have downloaded the program from here http://www.tightvnc.com version 2.7.10 and compiled successfully using visual studio 2013. One is the tvn server and other is the viewer. We connected successfully the server and viewer using my friend’s laptop pair with server and client interaction. When the application runs all the …

Member Avatar for tinstaafl
0
2K
Member Avatar for shashigowda

this is my shash.html page <!DOCTYPE HTML> <html> <head> </head> <body> <form action="shash.php" method="post"> Name:<input type="text" name="username" id="username"> <span class="error">*<?php echo "$nameError" ; ?></span> Password:<input type="password" name="password" id="password"><br> Email:<input type="text" name="email" id="email"><br> <input type="submit" name="submit" value="submit"> </form> </body> </html> this is my shash.php page <?php $nameError=""; $name=""; if(isset($_POST['submit'])){ if (empty($_POST["username"])) …

Member Avatar for edbr
0
339
Member Avatar for judithSampathwa

hi does any one know the RGB values of the standard form in C#.net? how can i get it to be add to the colour pallatte in the C#.net color pallette?

Member Avatar for Jill_3
0
420
Member Avatar for UK-1991

Hello, I have created a select product using a different way like frst we select product from dropdown and click on next button on next page the dropdown have to show the company names i.e only that companies which belongs to the selected product but i am bit confused how …

Member Avatar for UK-1991
0
155
Member Avatar for Bharti_1

I am trying to implement meeting scheduling algorithm. I want to randomly generate meetings and store it in a file. Then read this file in another code, create different agents who will try to schedule these meetings. My input meeting file is as follows: 1 20 25 [1 2 3 …

Member Avatar for Bharti_1
0
384
Member Avatar for vegaseat

Reading the content of a web page with a given URL is pretty simple with Go. Here we defer the closing of the response body (at an early point, so we won't later forget) until the program exits.

0
22K
Member Avatar for Ahmed_62

Hello Everybody , i have array of size 9x9 i want to write a function to Check each 3x3 box

Member Avatar for Ahmed_62
0
304
Member Avatar for danijohn

when I exit a function i get 'general protection exception' -' processor fault'. Function writes to file and works ok except won't exit. What does this mean please, and where should I look ? Am using Turbo C 4.5 & Windows xp. Must be overwriting memory somehow I suppose but …

Member Avatar for alifriend7
0
599
Member Avatar for Suzie999

I've been using [DB Browser for SQLite](http://sourceforge.net/projects/sqlitebrowser/) to peer inside database for debugging. It's been very good and simple to use. However it does not support a DB which has a password. It is fine with DB that I do not have password. Wondering if anyone knows of a db …

Member Avatar for Suzie999
0
701
Member Avatar for lapo3399

I'm new to Python, and as I was coding for Project Euler to develop my skills in this language, I needed a function for converting between two bases. I know that int() can convert anything to base 10, but before I looked for a Python module concerning this math, I …

Member Avatar for vegaseat
0
2K
Member Avatar for Violet_82

Hi guys, I'm trying to get my head around this strongly typed view concept but I keep getting an error hen I view the page. Basically, my application is called modelsTest and I have a CompanyInfo.cs class: using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace modelsTests.Models { public class …

Member Avatar for Violet_82
0
1K
Member Avatar for janicemurby

hya im trying to populate a drop down select list from the database i have set the database up and written the following out if anyone can help would be much appreicated // Fetch user details $userdata = mysql_query("select * from user where user_id = '".$_SESSION['userid']."' "); $fetch_user = mysql_fetch_array($userdata); …

Member Avatar for lps
0
271
Member Avatar for tony75

Hi I have this key How can I add \x between two number of hex as you see in my example. f0cbf260e0ca8ec2431089fb393a1c29513aaaa5847d13e8be84760968e64dc6 Change to “\xf0\xcb\xf2\x60\xe0\xca\x8e\xc2\x43\x10\x89\xfb\x39\x3a\x1c\x29\x51\x3a\xaa\xa5\x84\x7d\x13\xe8\xbe\x84\x76\x09\x68\xe6\x4d\xc6” I appreciate your help

Member Avatar for EMERSON_1
0
10K
Member Avatar for MustafaScript
Member Avatar for ramkishor

how we can bind values in combobox and insert into database when we create dynamic combobox in c#..please help me..

Member Avatar for ramkishor
0
697
Member Avatar for Kirankumar_1

**How to open, read, transfer all content line by line in database depend upon their specification using php??????? ** I have a txt file that deals with numbers and the delimiter is not present in numbers. But i want to store that huge numbers depend upon there description. For example …

Member Avatar for diafol
0
246
Member Avatar for Pobunjenik

Hi, so I've got this multithreaded server which correctly waits for clients and assigns them to a worker thread. From there, the client is sent an object `Packet` which contains variables `Player` and `Round` (simplified, it contains more data but these are the most important). I'm building a simple top …

Member Avatar for JamesCherrill
0
439
Member Avatar for davy_yg

Hello, I am trying to create ecommerce website which includes payment gateway. My ecommerce site is coded in PHP. Any clue how to incorporate payment gateway with my ecommerce site? Also, is there any extra fee for that ?

Member Avatar for ryantroop
0
213
Member Avatar for sk8ergirl

this is my background http://s13.postimg.org/6zejiqc87/1429994667798.png in current code user can move sprite to any location, but I want the user to only move sprite to specific location. I have one Sprite (s1) I want to move it to specific position as you can see my background have line and dots …

0
149
Member Avatar for AntonyRayan

Hi, In a page I have 20 fields including image field, And I have 4 buttons like, submit, preview,send Email, cancel. If i click the print button it has to show what are the fields I have entered with values after that it has to take in printout, for this …

Member Avatar for AntonyRayan
0
105
Member Avatar for kearradcrs

Use an array to store the grades. Use a looping structure to populate the array. Calculate the numeric average based upon the 4 equally-weighted numeric grades. Display each of the 4 numeric grades from the array on the screen using a looping structure. Display the numeric average. Create a function …

Member Avatar for David W
0
195
Member Avatar for Sutarusu

My site is giving me a 500 internal error. In the data.php file it is asking for a few things: //db access info $sql_host='';//host $sql_user='';//db user $sql_pass='';//db pass $sql_db='';//db name //path and url $base_path="";//full path to script $main_url="";//url to the script $cookie_url="";//the domain name of your website without http://www The …

Member Avatar for pritaeas
0
897
Member Avatar for Arjay Joseph
Member Avatar for edbr
0
112
Member Avatar for Hassaan_2

hi all ihave required a program any body help me please Write a programme that use three arrays mango, orange and banana to store the number of fruits purchased by customer. The programme inputs the number of mangoes, oranges and bananas to be purchase by customer and stored them in …

Member Avatar for David W
0
437
Member Avatar for valentinfr

Hello Guys, My name is **Valentin Fitzmann**. Currently, I am investor in **Real Estate**. I want to expand my business that why I need a website, I need suggestions for website domain name as well as I need recommendation on web space server as well. This will be a challenge …

Member Avatar for valentinfr
0
102
Member Avatar for wilsonchama

Hi guys, I am trying to update a single column in an already existing record with a value in a textbox in Access database using VB.NET 2008 express edition. This is how it should happen, combo box is drawing product IDs from the table and two textboxes display product description …

Member Avatar for JerrimePatient
0
2K
Member Avatar for Seher_1

how to calculate term frequency,inverse document frequency(tf-idf) for own text files that consists of many terms.

Member Avatar for Gribouillis
0
167
Member Avatar for Nitin_8

Hi i would like to fetch images from name of the image by which i have stored the image from the upload folder. how can i do it in wordpress.

Member Avatar for diafol
0
284
Member Avatar for Dipanjana

Hi . I want to know how pass the data from the datagrid to textbox through query string with only the ID of the selected row being passed as query i.e when I select a particular row all the attributes of that row should be displayed on the textboxes of …

Member Avatar for djjeavons
0
730
Member Avatar for Sutarusu

Ok, here is what I get when I run the query. 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near newmessage`int(4) unsigned NOT NULL DEFAULT `0`,`companyi' at line 4 Here is what …

Member Avatar for Sutarusu
0
2K
Member Avatar for webber2015

Hello, we have to create a football scoreboard in Visual Basic. Purpose: The application calculates the points scored during a football game by one team Requirements: 1. The user clicks the enter score button in an input box object to enter a score after the football team scores 1. Each …

Member Avatar for hericles
0
491
Member Avatar for nikita.chandra

hi ! Anyone can tell me how can i get the value of dynamic textbox on jsp page. If i'll use request.getParameter("elementName"); here as text box will be generated dynamically i can't assign name of the text box . Pleeeeeeeeeeeeeeeeeeeeeeez help !!! Thanks :)

Member Avatar for Varun_2
0
2K
Member Avatar for webber2015

Little League Batting Average Windows Application: Finds the avg batting average of the starting line-up of nine little league baseball players. The user enters the present batting avg of each of the nine players to compute the team batting avg. 1.The user clicks the Enter Batting Averages button to enter …

Member Avatar for Reverend Jim
0
454
Member Avatar for Petcheco

Hello, guys. The four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832. 73167176531330624919225119674426574742355349194934 96983520312774506326239578318016984801869478851843 85861560789112949495459501737958331952853208805511 12540698747158523863050715693290963295227443043557 66896648950445244523161731856403098711121722383113 62229893423380308135336276614282806444486645238749 30358907296290491560440772390713810515859307960866 70172427121883998797908792274921901699720888093776 65727333001053367881220235421809751254540594752243 52584907711670556013604839586446706324415722155397 53697817977846174064955149290862569321978468622482 83972241375657056057490261407972968652414535100474 82166370484403199890008895243450658541227588666881 16427171479924442928230863465674813919123162824586 17866458359124566529476545682848912883142607690042 24219022671055626321111109370544217506941658960408 07198403850962455444362981230987879927244284909188 84580156166097919133875499200524063689912560717606 05886116467109405077541002256983155200055935729725 71636269561882670428252483600823257530420752963450 Find the thirteen adjacent digits …

Member Avatar for Petcheco
0
291
Member Avatar for Prince_9

How can I convert this Ruby Gem to PHP? token = "your_nypl_api_token" client = NyplRepo::Client.new(token) ``` ``` token = "your_nypl_api_token" options = {:debug => true, :server_url => "http://api.repo.nypl.org/api/v1"} client = client = NyplRepo::Client.new(token, options) Also url = "http://api.repo.nypl.org/api/v1/items/8568ccd0-c614-012f-1d74-58d385a7bc34.xml" uri = URI.parse(url) http = Net::HTTP.new(uri.host, uri.port) headers = { "Authorization" => …

Member Avatar for cereal
0
774
Member Avatar for turntomyleft

One of my first programs was coded on paper tape. Another was via punched cards. I foresaw amazing stuff, e.g., artificial intelligence, models for weather, space travel, etc., but never imagined we would come this far in only 60 years. I now have a programmer son who wants me to …

Member Avatar for vegaseat
0
785
Member Avatar for Bharat_2

I want to calculate user steps(like pedometer).I know that with iPhone 5s, 6 and 6+ we can use `CMStepcount` or `CMPedometer` or class(which use M7 chip of devices) but iPhone 5 and lower versions does not support M7 chip, so we can't use `CoreMotion`. By searching all over internet i …

Member Avatar for rubberman
0
339
Member Avatar for BustACode
Member Avatar for shahera.arafat

hello everybody ^^ I have to make a calander ,and to let the user to insert any event ! the calander it self is working <<but I don't know how can I write the code to give the user the ability to enter a new event by entering some fields …

Member Avatar for shahera.arafat
0
146
Member Avatar for jez9

I tried to make a setup file wherein i want to install and unistall the application/system that i made but when i try to run the application and i tried to save, edit, order and other stuff in the application it says "Operation must use an updateable query" i use …

Member Avatar for Santanu.Das
0
258
Member Avatar for pars99

I have to draw an image using Graphics and Graphics2D. The image is Monstercat How would you guys suggest I do the parts that have several curves to them? Do I use multiple QuadCurve2D or is there a way to do it in one method? ![monstercat_logo_vector_by_lmw_ybc-d63hlvv.png](/attachments/large/4/d4b5cb7925e7eff4a402233b59be737f.png "align-center") On a side …

Member Avatar for JamesCherrill
0
231
Member Avatar for phoenix254

Hi everyone, Is there any way to redirect page without header and javascript ?

Member Avatar for phoenix254
0
260
Member Avatar for nitos

using a tutorial am learning how to create a shopping cart when on my machine its working fine but when hosted on a different server its not working. this is the line i need help with //current URL of the Page. cart_update.php redirects back to this URL $current_url = base64_encode("http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']); …

Member Avatar for nitos
0
297

The End.