199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for cambalinho

i did a class for the timer precision using the timeSetEvent(). of course i can have more than 7 instances from the Timer class(with 200ms or something so small). is these a limitation or what? class Timer { private: static unsigned int TimerCount; UINT_PTR timerid; UINT m_uResolution=0; unsigned int TimerID=0; …

Programming c++ windows-api
0
290
Member Avatar for andyherebi

[B]PLEASE NEED HELP WITH THIS HOMEWORK.... THANKS[/B] THE FOLLOWING CODE PERFORMS A [B]SNAKE GAM[/B]E USING GRAPHICS.H LIBRARY IN [B]TURBO C++ COMPILER[/B]... PLEASE ADD TWO MORE FEATURES... USING AN "+" CHARACTER TO INCREASE VELOCITY OR REDUCE DELAY AND ALSO AN OPTION TO RECORD HIGHER SCORES. PICTURE: [ATTACH]15179[/ATTACH] THE FOLLOWING CODES NEED …

Member Avatar for tinstaafl
0
28K
Member Avatar for Mar. Na.

Hi all, How can I compare between 2 strings , contain some words are same in each other and extracting the same word only ,,these 2 strings not contain spaces. For example: String1="catdogfish"; String2="dogfishmonky"; So, the result I want to get from compare them is "dogfish". Is there any way …

Programming java
Member Avatar for Mar. Na.
0
291
Member Avatar for Siberian

Anyone have a Samsung Galaxy running Andriod 5.0.2. I just need to collaberate with you trying to solve a web design problem; and I also may need you in the future regarding the same device ;-)

Member Avatar for Siberian
0
215
Member Avatar for SirMahlon

my update is choosing a different column which i don't have in my table. Please i need assistance SQLSTATE[42S22]: Column not found: 1054 Champ 'companyprofiles.id' inconnu dans where clause (SQL: select * from `companyprofiles` where `companyprofiles`.`id` = 2 limit 1) what i have is user_id thus what i need to …

Member Avatar for Sikander Nasar
0
620
Member Avatar for LRNPHP

Hi guys, I'm working on a project and wanted to know if there is a good / trusted way to break a string apart into words. I want to get all the words in a string that will be used in a mysql query. I tested with str_word_count but it …

Member Avatar for navichawla92
0
310
Member Avatar for chaze

When our template goes mobile it has two compacted menus. Any idea how I can get rid of the top one? The one under the logo is correct, the one above is some left over code I can't seem to find. You can see them here with a mobile phone …

Member Avatar for gentlemedia
0
211
Member Avatar for hq1

Write a program that can be used by a small theater to sell tickets for performances. The theater’s auditorium has 15 rows of seats, with 30 seats in each row. The program should display a screen that shows which seats are available and which are taken. For example, the following …

Member Avatar for happygeek
0
9K
Member Avatar for blueguy777

Getting the follwoing error message. How to fix this? **Parse error: syntax error, unexpected end of file in** Actual Code: <?php session_start(); include("connection.php"); $sqlsettings = "SELECT * from admin"; $resultsettings = mysql_query($sqlsettings); $rowsettings = mysql_fetch_array($resultsettings); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title><?php echo $rowsettings['ScriptName']; ?> …

Member Avatar for blueguy777
0
314
Member Avatar for theoryforlife

Hello, I've been working at this code from a couple angles, I've had two people I've known to help me, but even with their help it hasn't worked. The question I have relates to CodeLab: Write the definition of a function named printStarBucks that receives a non-negative integer n and …

Member Avatar for Lukas_1
0
2K
Member Avatar for Hanko

I have a Text file with several different C:\ locations i need, the idea is to use the streamreader to read the text file, load each line into an array and then be able to use that specific array per line in the Sub routines to code. the idea, is …

Member Avatar for tinstaafl
0
308
Member Avatar for shandoo1997

Hi, I have a raspberry pi in which I use kweb in kiosk mode. To display a webpage. What I am trying to do is to be able to navigate through the webpage using my phone. What I am struggling with is how can I make this kind of connection …

Member Avatar for shandoo1997
0
377
Member Avatar for shashigowda

Hi iam working on one scenario.. employe A send a Requesting mail to Project manager B, project manager B approves a request from employee and send the mail to project manager C for further process,after approving from project manager C it will go to department head like this... so here …

Member Avatar for Zagga
0
251
Member Avatar for abogeorgeee

i need to make program to search for multiple word s of 100 logs ?

Programming c c# c++
Member Avatar for Reverend Jim
0
89
Member Avatar for mabdullah4

When I enter 2 values the third one is garbage..Don't Know why.. #include<iostream> #include "Size_Decider.h" using namespace std; int main() { int size=0,Encoded_Matrix_Column=1; cout<<"Enter The Number of Digits "; cin>>size; int *Digits= NULL; Digits = new int[size]; Encoded_Matrix_Column = matrix_size_checker(size,Encoded_Matrix_Column); cout<<"It Has "<<Encoded_Matrix_Column<<" Columns"<<endl; cout<<"It Hass 3 Rows"<<endl; //Intilizing every …

Member Avatar for AssertNull
0
210
Member Avatar for fo2sh

Hello, I have the below case. CREATE TABLE "PRBT"."TM_TABLE_1" ( "NID" NUMBER, "STRNAME" VARCHAR2(240 BYTE) NOT NULL ENABLE, "NORDERCODE" NUMBER NOT NULL ENABLE, "NSTATEID" NUMBER DEFAULT 1 NOT NULL ENABLE, "STRDETAILS" VARCHAR2(256 BYTE) DEFAULT NULL, "STRAUTHOR" VARCHAR2(128 BYTE) NOT NULL ENABLE, "NPICTUREID" NUMBER DEFAULT NULL, "STRLATINNAME" VARCHAR2(512 BYTE), "STRLATINAUTHOR" VARCHAR2(512 …

Member Avatar for RudyM
0
344
Member Avatar for akdser6

i have an assigment to solve a mathemathical problem of rolling ball its height decrease by 1/4 of its original height. please give me an example. thank you

Programming c++
Member Avatar for mabdullah4
0
121
Member Avatar for jitupatil_2007

Hi friends i want to read a csv file and then store it in sql server 2005 table , know how to read a file but i don't know how do i write it in the table. plz help me

Member Avatar for AITM_1
0
2K
Member Avatar for hhaannyy

hello every one this my code to fill my combobox with the name of clients and i but the connection string in a module to let my prog workimg in any pc in the group But the problem here in the combobox says can not make the connection, I know …

Programming dataset vb.net
Member Avatar for tinstaafl
0
268
Member Avatar for Laura_7

This is my code for a user login. It allows the user to login fine. What do i need to add to the code to allow admin users to be able to login and then be redirected to another page? In the database I have assigned 0 to the normal …

Member Avatar for cereal
0
2K
Member Avatar for selfTaughtCPP

Hi there. I am new to cpp and self-taught. I tried playing with switch case and functions. But the output of this simple temp conversion program does not work as expected. I get wierd numbers in output. I even tried initializing the variables, still no use. I have indicated in …

Member Avatar for tinstaafl
0
183
Member Avatar for logesmca

Hello All, Is there any provision to ignore the trigger when i update a row in a table. Thanks, Loges

Member Avatar for RudyM
0
364
Member Avatar for Ehtesham Siddiq

Hi, My application is in VS2010,Silverlight and coded in C#.Net. My requirement is i want to upload Image in my Imagebox control.As there is no PictureBox control in Silverlight im using ImageBox. I have a Imagebox,below that a Browse button. When the User clicks on Browse button,Dialogbox should open and …

Member Avatar for Marwen_1
0
3K
Member Avatar for templar77

Hi, I'm still practice learning Python. I have a litte homework, make Class method, Class Date and Class Delta without using import. it must be like this... `>>> date(2020, 5, 2) + delta(year=5)` `date(2025, 5, 2)` `>>> date(2020, 5, 2) + delta(month=3)` `date(2020, 8, 2)` `>>> date(2020, 5, 2) + …

Programming python
Member Avatar for Gribouillis
0
365
Member Avatar for Karthik_4

Hi I have around 20 python files. Each time I run these files in the terminal this form one after another : python a.py python b.py python c.py python d.py python e.py python f.py python g.py . . . (I have provided general file names here) This process takes lot …

Member Avatar for Karthik_4
0
13K
Member Avatar for Muhammad Arslan_1

Write a program to find the integer square root of a given number.That is the largest integer whose square is less than or equal to the given number.

Member Avatar for mabdullah4
0
196
Member Avatar for santosh.pandey.1293575

hi to all, i have an menustrip in the form MAIN i want to load menustripitems as per the user permission given in the tbluser database table which load during form load event in datagridview DataAdapter1 = New SqlDataAdapter("Select * From tbluser WHERE userID = '" & txtuserid.Text & "' …

Member Avatar for Alan0610
0
773
Member Avatar for Ayuni_1

Hi. I want to auto calculate some fields in database without any button submit but i'm only know how to calculate using button submit. I want that user enter the value then the user will get the calculate value automatically without click on button submit. I'm doing my final year …

Member Avatar for red.peugeot
0
225
Member Avatar for Papa_Don

Group, I can't seem to append multiple files into one text file. Unfortunately it's creating the first file but is not creating or appending the additional files into the first file. My code looks like this: getRestranName = System.IO.Directory.GetFiles(folderName) Dim counter As Integer = My.Computer.FileSystem.GetFiles(folderName).Count fileCount = Convert.ToInt32(counter) fileCount = …

Member Avatar for Papa_Don
0
1K
Member Avatar for rowen_1

I am new to php. I encountered the following errors. Warning: require_once(/dbtest/db_connect.php): failed to open stream: No such file or directory in C:\xampp\htdocs\dbtest\connect.php on line 2 Fatal error: require_once(): Failed opening required 'dbtest/db_connect.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\dbtest\connect.php on line 2 I am very sure I have db_connect.php file inside my dbtest …

Member Avatar for RudyM
0
2K
Member Avatar for panduranga_1

Sorry, recently i have came across working with testers, previously i have tested website my self. When testers do web User Interface Testing, they find silly ui bugs that users can't find and force devlopers (me) to solve those bugs. They can't find important bugs which is related to backend …

Member Avatar for RudyM
0
278
Member Avatar for arctushar

Hi I m developing a mobile apps which will fetch json data from my server. My server address is http://need4engineer.com/api.php this is not working. But same data from another server https://randomuser.me/api/?results=5 is working well. Both the cases header is same. Please help me

Member Avatar for rproffitt
0
184
Member Avatar for Hope_2

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Membership</title> <meta name="GENERATOR" content="PHP"> <script> function validateEntries(form){ if(document.myForm.firstname.value == "" ) { alert( "Please provide your name!" ); myForm.firstname.focus() ; return false; } if( document.myForm.lastname.value == "" ) { alert( "Please provide your last name!" ); document.myForm.lastname.focus() ; return false; } …

Member Avatar for Hope_2
0
379
Member Avatar for TObannion

I am trying to create a dtd that emulates a car dealership. It sells trucks, sedans and hatchbacks, as can be seen in my dtd. The dealership would keep track of how many doors and wheels each vehicle has as well as the model and year in addition to how …

0
128
Member Avatar for rhys1619

HI i'm writing a quiz for school and i don't know how to add a restart to the program or a score. Here is my code. -with the restart i just want a yes,no thing # rhys translation quiz #intro and intrustions print ("Welcome to the translation quiz \nYou will …

Member Avatar for Teleka2099
0
213
Member Avatar for Neversleepin

Hi everyone, i'm trying to code a Clock with 2 7segment (commun anode) with 8051 microcontroller in assembly language. i use only two 7 segment led because i want just minutes and secondes for hours i will see later. So i tried to code and when i run it, it's …

Member Avatar for Rizwan_5
0
3K
Member Avatar for Laura_7

this is my login code which works fine when someone registers and then logs in. What im trying to do is allow access for certain users to different pages as they're classed as admin users. However the username and password for them will already be set and they dont need …

Member Avatar for rproffitt
0
508
Member Avatar for TObannion

I am trying to make a page that displays an image, and then utilizes a group of radio buttons and an apply button to perform effects on the image in the `<div>`tag . It is using the show(), hide(), Toggle(), Fade In(), Fade Out(), Fade To(), Slide Down(), Slide Up(), …

Member Avatar for TObannion
0
264
Member Avatar for Rashmi_1

Hi, I needed some help with fixing my code. So basically what I am trying to implement is the following: I have 2 radio button (hours and minutes) and under each is a JTextField for each radio button. On the right side there is 2 buttons (+ and -) that …

Member Avatar for JamesCherrill
0
275
Member Avatar for Ricardo_1

I'm trying to delete a database in phpMyAdmin which is in localhost of Windows 7 Professional 64bit system. Since I am not an IT or database professional, I'd appreaciate any help with non-techy steps. :-) When I attempt to delete the database I receive the error: DROP DATABASE 'enfold-2016' #1010 …

Member Avatar for Ricardo_1
0
6K
Member Avatar for deedels

html code: <tr> <td id="qn1" name="qn1">1</td> <td>Presentation of course overview and relevant references</td> <td> <select class="form-control" name="select"> <option value="very good">Very Good</option> <option value="good">Good</option> <option value="average">Average</option> <option value="poor">Poor</option> <option value="very poor">Very Poor</option> </select> </td> </tr> php code: <?php $servername = "localhost"; $username = "root"; $password =""; $dbname = "surveyproject"; //establish connection …

Member Avatar for rproffitt
0
217
Member Avatar for ShilohAmi

Hi all.. I am a newbie in web programming and I have question how I can put my slice images html as background in html? I already slice it with photoshop and save it as html, the slice image is showing but they are in table format.. How I can …

Member Avatar for gentlemedia
0
326
Member Avatar for davy_yg

Can anyone help me find a good system that creates newsletter that I could email mass to my clients? Like I would like to create a newsletter and send each newsletter to many clients. Should I create the program myself. Or is there any other alternative? Thanks

Member Avatar for madCoder
0
239
Member Avatar for sahilmohile15

Hello friends, I am having a confusion in my script please explain me what is it doing i don't know what it is i don't understand sessions very well, so please explain it if (isset($_SESSION['SBUser'])) { $user_id =*** $_SESSION['SBUser']***; $query = $db->query("SELECT * FROM users WHERE id = '$user_id'"); $user_data …

Member Avatar for madCoder
0
294
Member Avatar for hhaannyy

hello every one i made a Simple sales program by vb with tables sql I have worked and use the following to connect with data con.ConnectionString = "Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename= C:\Users\hany_\Documents\Visual Studio 2015\Projects\hanysql\hanysql\Database5.mdf;Integrated Security=True" Now, after the completion of the program I want to know what is the way to run …

Programming vb.net visual-studio
Member Avatar for hhaannyy
0
391
Member Avatar for Espanhol

[CODE]<? $conn = mysql_connect("localhost", "your_username","your_password") or die(mysql_error()); mysql_select_db('your_database', $conn) or die(mysql_error()); ?> [/CODE] this is the code i have on database.php, when i run register page i get a erro. [QUOTE]Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'your_username'@'localhost' (using password: YES) in /home/a4595523/public_html/database.php on line 2 Access denied for user …

Member Avatar for ray101
0
395
Member Avatar for davy_yg

Hello, I would like to know if it is possible to create visitation graphic monitor with CI or php? Like I would like a monthly report on email like how many visitors visit my website monthly. Who are they? When, which page and how long has they visited my website. …

Member Avatar for rproffitt
0
154
Member Avatar for bankerrajendra

Hi all!!!, Happy Friendship day So, please provide me help in the codding of Simple Login Page using asp.net(c#) with stored procedure. Thanx, With regds, Rajendra Banker

Member Avatar for Genc_1
0
3K
Member Avatar for kylcrow

Hi. I am new to the forum and I had a question. I have looked around and haven't really been able to find exactly what I am looking for. I am looking for the code in C++ to read in a random single line with spaces from a file. This …

Member Avatar for zia shaikh
0
5K
Member Avatar for jcAmats

Hi. Can somebody help me? I am trying to create a program that reads random line from a file and displays them. My problem is, it displays the same line every time I press ‘n’ (it suppose to display another line from a file). Can somebody tell me how to …

Member Avatar for zia shaikh
0
1K

The End.