64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Adm666

why when i print the list it always misses the 1st line of input ? here's my code: #include<stdlib.h> #include<stdio.h> struct list { char data; struct list * next; }; typedef struct list item; int main() { item * curr, * head; char c; head = NULL; while((c=getchar())!=EOF) { curr …

Programming c linked-list
Member Avatar for Adm666
0
181
Member Avatar for patk570

I am trying to populate the data in a modal via AJAX, but i am unsure how to do so. The link right now is `<a href="viewmessage.php?id='.$row['ID']'">View</a>` Since there is only 1 Message in the Database, the number is 70. I have seen multiple things online but I am not …

Member Avatar for patk570
0
8K
Member Avatar for seularts

please help me cause I am totally lost on this one. I am trying to fetch the results from a database that has the data inserted in a weird way. The IDs are not unique, thus I have multiple values with the same ID in the ID column. I am …

Member Avatar for jkon
0
2K
Member Avatar for JModak

Hello Only one time count the msg ok result. but after that when I type wrong username and password coding not work. please help me ......... Try Dim erorcunt As Integer erorcunt = 0 Dim myConnection As OleDbConnection myConnection = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\DB.accdb;Persist Security Info=False;") Dim myCommand As OleDbCommand myCommand …

Member Avatar for JModak
0
288
Member Avatar for kashif_4
Member Avatar for t_thakar

Hi not sure if this is possible so wanted some guidance.. I have a database with 3 columns.. id, data,timestamp id is auto increment and data is json array and timestamp is unix timestamp.. the field I wanted to update was data but I wanted to replace just a part …

Member Avatar for cereal
0
280
Member Avatar for wilsonchama

Hi guys, I have a listview that displays "product Description" in the first column and "Product Price" in another column, after the "add" button is clicked on frmSales form. After that, txtAmountDue is automatically updated with the value of the items added to the listview. The Remove Button, when clicked, …

Member Avatar for Duane_2
0
2K
Member Avatar for JohnMcPherson

Hello, this is John McPherson, writing code for the U.S. Department of Labor. I am working on developing a new Benefit Finanacila Model for the state of Oregon, and I am having a problem with the printing of large numbers that are converted to strings. It works most of the …

Member Avatar for AssertNull
0
489
Member Avatar for archie.herbias

I want to have a forum in my website project in school. i don't have any idea. may anyone help me suggesting some examples. it is like daniweb forums. i want to save the topics in the database and retrieve it as a link. i dont know how to do …

Member Avatar for angela_8
0
2K
Member Avatar for Start4me

I'm trying to replicate the ray-looking design, just like in the first image. Here's my code: When the user clicks on the button: private class drawInnerShape implements ActionListener{ public void actionPerformed( ActionEvent e){ paintInnerDesign = true; repaint(); } } The following code executes: class DrawArtwork extends JPanel { @Override public …

Member Avatar for JamesCherrill
0
284
Member Avatar for rpv_sen

Hi I am trying to populate textbox value based on releated textbox value like that of (Country and State) using dynamic row formate. I can able to populate a value for only first row, if i tried ti for second row its again overwrite the first row and also i …

Member Avatar for Lucifer_1
0
3K
Member Avatar for chrisschristou

hello, i just set goal of mastering algorith and i just get started i have an algorhtm for insert sort and i when i write it in c it is not sorting this is the algorith for j D 2 to A_length key = A[j] // Insert A[j] into the …

Member Avatar for rproffitt
0
425
Member Avatar for dwlamb

I am starting a project that has been managed using a spreadsheet until now but needs to be converted to a mysql/php application. The amount of rows in the spreadsheet has exceeded something that can be easily sorted, filtered and edited. A particular field has a weak entity that is …

Member Avatar for diafol
0
426
Member Avatar for Mehar Awais

Your program should determine that the URL entered by user is a valid URL and belongs to your university

Programming
Member Avatar for JamesCherrill
0
171
Member Avatar for murali89

Dear All, I am trying to learn j2ee from the basics. I have written a basic program from my guidance book and when i try to compile it , i get the below error. Please throw some light on it. javac -classpath C:/Program Files (x86)/Apache Software Foundation/Tomcat 7.0/lib/servlet-api.jar:classes:. -d classes …

Member Avatar for murali89
0
385
Member Avatar for gahhon

I am not sure what DOM is. But based on my understanding through my lecture slides and online source. By applying DOM approach, which allowing you to create/update/modify the certain HTML elements dymanically. Am I correct?

Member Avatar for ife_1
0
230
Member Avatar for Wiki_Tiki

Hi, I need help playing a sound in Visual C++ 2008. (Windows Forms App). I've tried many things searching on google, I used this method: [CODE]PlaySound("beep.wav", 0, SND_LOOP|SND_ASYNC);[/CODE] Then I get the error, "'PlaySoundW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR''. Can anyone help me play …

Member Avatar for sahana_3
0
693
Member Avatar for fatalaccidents

Hello all, Let me first state that this is my first program written in ARM, so please excuse that it might seem a bit chaotic. Also, I want to state that this is a homework assignment for an assembly class. I am supposed to read in an input file, only …

Member Avatar for Rajan_7
0
3K
Member Avatar for This_1

movlw 0x05 movwf 0x23 movlw B´00111000´ movwf STATUS bcf TRISA,0 bcf TRISA,1 bcf STATUS,5 bsf PORTA,1 movlw 0x07 movwf 0x25 movlw 0xFF andwf 0x25,1 nop movlw 0x0F movwf 0x27 clrw iorwf

Member Avatar for xrjf
0
275
Member Avatar for michael.dewitt.716

Hi everyone, i have a page that uses jquery ajax to get json from another page. However, instead of the ajax using sucess, it goes directly to error. I have a debug on the error to see what is the issue and i get "Parsing JSON Request failed." page 1.php …

Member Avatar for diafol
0
496
Member Avatar for omprakash_1

# Split a dataset based on an attribute and an attribute value def t_split(x, y, z): l, r = list(), list() for row in z: if row[x] < y: l.append(row) else: r.append(row) return l, r # Calculate the Gini index for a split dataset def gini_index(grp, class_values): gini = 0.0 …

Member Avatar for rproffitt
0
327
Member Avatar for davy_yg

Hello, Any idea how to change the css codes just by pressing a button? I wonder how to do this? Any clue?

Member Avatar for cereal
0
402
Member Avatar for Petrisor

Good day, I have to make a data scraper and after I take the informations I have to get them in a CSV file.This is the original request:For the final java academy test you have to create a small crawler. What do I mean by "crawler"? A crawler it is …

Member Avatar for happygeek
0
402
Member Avatar for kayla_95

so i've been trying to do this multiple times but stil didnt get the answer. i have a column named closed in my database and close button in my view, whenever i click the button close, i want it to update my closed column to '0' if it is closed …

0
101
Member Avatar for Mae_3

I tried making a code that displays images in a tkinter window along with a text underneath however its positioned in the top but I want it in the center. The path "C:\Users\ariel\Desktop\arrayofimages.txt" has: > C:\\Users\\ariel\\Pictures\\photoimage1\\1.jpg > C:\\Users\\ariel\\Pictures\\photoimage1\\2.jpg > C:\\Users\\ariel\\Pictures\\photoimage1\\3.jpg > C:\\Users\\ariel\\Pictures\\photoimage1\\4.jpg > C:\\Users\\ariel\\Pictures\\photoimage1\\5.jpg > C:\\Users\\ariel\\Pictures\\photoimage1\\6.jpg > C:\\Users\\ariel\\Pictures\\photoimage1\\7.jpg The path …

Member Avatar for rproffitt
0
3K
Member Avatar for thijscream

can someone explain to me how to put the current time into a tekstbox... i'm totaly new with this language and need to finish a program before school starts again. it should be like this: if i push button "BtnStart" then current time should be inputted in "textbox1" if i …

Member Avatar for HaxNain
0
8K
Member Avatar for yosri_1

hi all , i search for motion detector documents and code source with systemC programming language, any help pls

Programming c
Member Avatar for yosri_1
0
928
Member Avatar for UI

Experts, I do not understand this atall. Here: https://www.tutorialspoint.com/php/php_constants.htm It says: "PHP Magic constants PHP provides a large number of predefined constants to any script which it runs. There are five magical constants that change depending on where they are used. For example, the value of __LINE__ depends on the …

Member Avatar for diafol
0
323
Member Avatar for Stat_1
Member Avatar for rubberman
0
190
Member Avatar for kiyo_1

i put this code name = raw_input ('please enter your name-->') print 'hello ' + name age = raw_input ('enter you age-->') if age < 5: print 'what the...how did you understand on me' elif age < 18: school = raw_input ('in wich school you are') print "I don't care" …

Member Avatar for Gribouillis
0
221
Member Avatar for Prasad_4

Consider the following C code snippet: char *sentence = NULL; strcpy(sentence, "Helloworld"); printf("%s", sentence); is the code segment correct or error. If correct what is the output? 1. Error 1. Helloworld 1. NuII,Helloworld 1. None of the above

Member Avatar for Reverend Jim
-2
1K
Member Avatar for major_lost

I've tried following the Microsoft instructions to add multiple Textboxes to my form, but just cannot get it to work. Thus, I've deleted everything I wrote, so I don't have code to post. Is there a very simple way to add multiple TextBoxes to a form and be able to …

Member Avatar for Reverend Jim
0
4K
Member Avatar for john_beginner

Hello All, I am new in this language and want to access the run time value In other words, I want make a program in which ask the value from User like scanf() function in C and cin>> function in Cpp So is there any function or method by which …

Member Avatar for Reverend Jim
0
21K
Member Avatar for tpetter1

I'm trying to write a Windows service in Visual Studio 2008. The service is supposed to update an Access database. I've created a Windows service project and added an Access database to the project. A data source has been created that contains all tables from the database. Now to my …

Member Avatar for scott_16
0
3K
Member Avatar for KagaKuro

Hello. I'am using php codeigniter for my task here. i just have to use it. its all set up at the first. so i kinda not understand the path. I've read some of the explainatiion and try from scratch but when I try to apply it to my task its …

Member Avatar for KagaKuro
0
3K
Member Avatar for JohnMcPherson

Hello, am working on a program for the U.S. Department of Labor. I am working on two programs for the state of Oregon, and the program that reads data and displays on a screen is working correctly. The code reads tax rates for a specific tax schedule and puts htam …

Member Avatar for abbott@lantic
0
350
Member Avatar for patk570

I have a code that is working to show images and description. But I am trying to get it to loop through 3 pictures wide, then loop again. and display them, I am going to add pagination to the script, but before i do that i need it to loop. …

Member Avatar for patk570
0
459
Member Avatar for davy_yg

Hello, I have this laravel file that is already works but when I try to set it offline it does not works I wonder why? I try to do this: framework_freshway\framework.env DB_HOST=localhost DB_DATABASE=wwwsoulf_revsoul DB_USERNAME=root DB_PASSWORD= http://localhost/framework_freshway/public_html/ Whoops, looks like something went wrong. 3/3 ErrorException in 1319c52207fd4f3069a97397543698e4 line 1275: Trying to …

Member Avatar for davy_yg
0
381
Member Avatar for davy_yg

Hello, I am having trouble with laravel video tutorial : https://laracasts.com/series/laravel-from-scratch-2017/episodes/1 Any clue what video player that is perfect to run that video. This is the error messages: The media could not be loaded, either because the server or network failed or because the format is not supported.

Member Avatar for diafol
0
1K
Member Avatar for davy_yg

Hello, I try to do this: framework_freshway\framework.env DB_HOST=localhost DB_DATABASE=wwwsoulf_revsoul DB_USERNAME=root DB_PASSWORD= http://localhost/framework_freshway/public_html/ Whoops, looks like something went wrong. 3/3 ErrorException in 1319c52207fd4f3069a97397543698e4 line 1275: Trying to get property of non-object (View: C:\xampp\htdocs\framework_freshway\framework\resources\views\home.blade.php) (View: C:\xampp\htdocs\framework_freshway\framework\resources\views\home.blade.php) home.blade.php Line 1274 - 1276: if (type == "twitter") { showProfileInfoTwitter("{{$user->twitter->name}}", "{{$user->twitter->screen_name}}", "{{$user->twitter->profile_image}}", "{{$user->twitter->description}}", 0, 0); …

Member Avatar for davy_yg
-2
290
Member Avatar for Raddin

Hi! I'm new in vb.net.. I want to make an auto search textbox without using any button and will display the data after inputting the ID on the textbox.. does anyone know how to do this??

Programming vb.net
Member Avatar for JamesCherrill
0
350
Member Avatar for SimonIoa

Hello i want to add some CSS3 filters on a background image but the effects take place on the text too not just the background image. Here is the css code <div style="color:whitesmoke; background-image:url(wall_icons/uploadMedia.png); background-size:contain;-webkit-filter:grayscale(1.7); filter: brightness(0.2); -webkit-filter: brightness(0.2); -moz-filter: brightness(0.2); -o-filter: brightness(0.2); -ms-filter: brightness(0.2); background-repeat:no-repeat"> <small style="font-size: 3vmin;">Text.Text.Text.Text.Text.Text.</small> </b> …

Member Avatar for diafol
0
3K
Member Avatar for jigglymig

Is there a way to resize controls, such as a button, instantaniously with the window being resized? Currently, I am using a button click method to resize using this code: UpdateLayout(); addButton.Height = this.Height / 30;

Member Avatar for rproffitt
0
313
Member Avatar for patk570

Hey everyone, I have a MYSQLI statement that i would like to add pagination to. I would like to have it set to 5 per page, and not have a negative value if you are on page 1 (disables back link) Every tutorial i have been seeing allows for a …

Member Avatar for patk570
0
661
Member Avatar for Goldfinch

There is some kind of rendering problem in my Javascript/HTML5 Canvas code that I haven't been able to spot. All the assetts are there, for some reason my sprite goes invisible and nothing loads when I enter the second room except the pizza slice that is deployed when I press …

Member Avatar for pty
0
302
Member Avatar for yosri_1

hi, i want to automate visual studio 2015 from an external VBA to build a solution, and i do not know what should i do , automate directly vs compiler or i should automate IDE, who can help me with advice and source code yosri.bensalah@outlook.fr

Member Avatar for Gadgetbytes
0
748
Member Avatar for SimonIoa

Hello i have a problem. It seems that the value of this this input `<input type="hidden" id="uploadUid" value="<?php echo $sessionUid;?>" name="update_uid">` in here `formData.append('uploadUid', uploadUid.value);` When i put an alert `alert(uploadUid.value);` on Firefox it returns just fine but on Chrome returns undefined Any guess why?

Member Avatar for SimonIoa
0
354
Member Avatar for ruwach

Hey there. i want to set a variable to represent the last line of a text file how do i do that? or even better, how do i create a list of the lines of a text file? any suggestions?

Member Avatar for gunjan_3
0
63K
Member Avatar for jigglymig

I am trying to figure out how to read/write to a file without knowing it's exact path. I was using resources and was only reading in the files, but now I need to write to them and there doesn't seem to be an easy way about this. I was looking …

Member Avatar for rproffitt
0
570
Member Avatar for Siberian

For clairifying you can add a string to a variable then add other variables as such; var one = "test", super,apple,pear,cardboard The string "test" will be assigned to the variable one as well; super, apple, pear, cardboard will also be created variables ?

Member Avatar for Siberian
0
177

The End.