199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nihade

hello Friends,, i need your help please i don't understand where is the problem in my code it blocked in "the print reverse" step help me please !! with a simple explanations because i'm new in this thanks DATA SEGMENT STR1 DB "ENTER YOUR STRING HERE ->$" STR2 DB "YOUR …

Member Avatar for Schol-R-LEA
0
348
Member Avatar for soe win
Member Avatar for Pobunjenik

Hi! Straight to the problem: I'm building this server application which will monitor SQL databases. I want it to remember any number of connections so I've made a few methods which I thought would do the trick, except they don't. The program should add any new SQL connection to a …

Member Avatar for Pobunjenik
0
391
Member Avatar for pspwxp fan

Hi Daniweb, My project was to create a basic shell. One of the features being if we enter a command and input a path to an executable, CreateProcess is invoked to start the process. This works fine enough for console applications: the process starts, runs, and then terminates, upon which …

Member Avatar for pspwxp fan
0
426
Member Avatar for nibbler

Hi I have a twiiter user linking to a specific page on my website which I would like to redirect to my home page. From the internet I have found and adapted the following code RewriteCond %{HTTP_REFERER} (twitter.com) [NC] RewriteRule myloginpage.php http://mywebsite.org/index.html [R,L,NC] Unfortunately this doesn't do anything. Can anyone …

Member Avatar for nibbler
0
351
Member Avatar for Shaziahussain

Hello Experts I have following codes <html> <head> <style type=text/css> #box1{ margin:0 auto; border:1px solid green; width:400px; height:70px; color:blue; padding:10px; overflow:hidden; background-image:url(images/DREAM.JPG); background-size:100% 100%; background-repeat:no-repeat; } #logo { width:120px; height:70px; background-image:url("images/asia.png"); background-repeat:no-repeat; background-size:contain; float:left; } .bg{ height:100%;width:100%; } </style> </head> <body> <div id="box1"> <div id="logo"></div> <div style=float:left;><p style=font-weight:bolder;color:blue;font- size:20px;margin-top:10px;>How to …

Member Avatar for JorgeM
0
154
Member Avatar for altjen

Hi members I need some help over here. trying to make a software who send free msg to phone (messages of type like "you have 2 days left for payments) I made a similar website like this with www.send-free-texts.com (on vb) but it need a verification with captcha code. I …

Member Avatar for Mr.M
0
134
Member Avatar for samer.aboufakher.3

#include<iostream> using namespace std; class product { private: int code; char name[20]; double price; int instock; double soldperyear[12]; public: product(int,char[],double,int); void setproduct(int c , char n[],double p,int i) { setcode(c); setname(n); setprice(p); setinstock(i); } void peryear(int i) { for ( i=1;i<=12;i++) soldperyear[i]=0;} void setcode(int c) { if(c>=2500&&c<=2750) code=c; else code=2500; …

Member Avatar for Moschops
0
203
Member Avatar for Suzie999

I was trying to learn how to add and use User settings and Application settings. And somehow I've managed to create some kind of double setting. Here is my app.config file. <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a6c561934e089" > <section name="TestApp.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, …

Member Avatar for Suzie999
0
157
Member Avatar for Fruits1234

Hi guys I need help creating an unordered list of objects.I am supposed to create a file of name and phone number pairs, such that each name is on a separate line and each phone number is on a separate line. Then I am to edit the Phonetest and phone …

Member Avatar for JamesCherrill
0
184
Member Avatar for v1shwa

Hi, I don't know if there is some name for this but what I want to create a script in php which runs in the background and capable of sending and receiving messages. This is what I want to do exactly: 1. Listen to a URL http://site1.com through xmpp protocol. …

Member Avatar for jkon
0
401
Member Avatar for binaryjc

**BREAKOUT GAME IN OPENGL** code is in C. Use the 's' and 'd' to move the paddle. Bounce the ball off the paddle to keep it from falling off the bottom of the screen. Break all the bricks to win. So far the program is running. but the right brick …

Member Avatar for pr@j@kt@
0
2K
Member Avatar for Pythogeek

Hi, I have problem , the same number of comments that appears in all items this is my code : <?php $requete = $bdd->query('SELECT COUNT(c.id_commentaire) AS total FROM commentaire c INNER JOIN pytho_blog a ON a.id = c.id_article '); while($data=$requete->fetch()) { echo $data['total']; } ?> Thank you for your help …

Member Avatar for Pythogeek
0
79
Member Avatar for game123

Hi, Im slightly stuck with a java project ive been asked to do. The problem is the game is a simon game so I the computer picks a letter randomly and the player has to copy it, if the player picks the wrong letter in the sequence the game informs …

Member Avatar for jwow
0
2K
Member Avatar for anmol.raghuvanshi1

<?php $host = 'localhost'; $user = 'root'; $pass = '******'; $db = 'test'; $error = 'Error Connecting to database'; $error1 = 'Error Selecting to database'; $connect = mysql_connect($host,$user,$pass) or die($error); $select_db = mysql_select_db($db) or die($error1); ?> <table border="1px"> <tr> <div class="differentLine"> <th >&nbsp;</th> <th > 9:15 - 10:15 </th> <th …

Member Avatar for lps
0
246
Member Avatar for Roger_2

i am working on an infix to postfix project and have reached a troubling point. one by one i must extract a string token from the string being inputted to the method infixtopostfix and one by one input them to the front of the deque named postfix. i dont understand …

Member Avatar for Roger_2
0
548
Member Avatar for nketia

3 Write a C++ expression for the following: a. Decrease A by the square root of the values assigned to B. b. Decrease the value of T by two third of the value assign to S less 8 c. Assign the average of A,B and C less twice the value …

Member Avatar for Schol-R-LEA
0
143
Member Avatar for sahar.97
Member Avatar for sahar.97
0
219
Member Avatar for Sandro_1

How can I sum only the first and the last item in an array list? ex.: list = (300, 450, 150, 800, ...)

Member Avatar for Schol-R-LEA
0
285
Member Avatar for gangachana

I need to read the span value and insert into database in php <span class="GrandTotal">0.00</span>

Member Avatar for mattster
0
2K
Member Avatar for MarkDbro

Hey Im making an online store and cant figure out the section on inserting data into a table (in this case its inserting customer details into a customer table). Its the VALUES line that is displaying the error: mysql_query() expects parameter 1 to be string, resource given. I have looked …

Member Avatar for Szabi Zsoldos
0
1K
Member Avatar for Michael_35

Hi All,I am coidng a movie database using vb.ebt (VS 2013) and using access (2013) I am trying to code my save button, but every time i run the program and try to save my data I get the below error An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in System.Data.dll …

Member Avatar for Reverend Jim
0
359
Member Avatar for VengefulToast

Hi, I have made a class and have an overloaded ostream operator method in it... However it tells me: "overloaded 'operator<<' must be a binary operator (has 3 parameters)." Can someone tell me how to fix this? Thank you! I have included some of my code: class Element { private: …

Member Avatar for Schol-R-LEA
0
494
Member Avatar for samer.aboufakher.3

#include<iostream> using namespace std; class product { private: int code; char name[20]; double price; int instock; double soldperyear[12]; public: product(int,char[],double,int); void setproduct(int c , char n[],double p,int i) { setcode(c); setname(n); setprice(p); setinstock(i); } void peryear(int i) { for ( i=1;i<=12;i++) soldperyear[i]=0;} void setcode(int c) { if(c>=2500&&c<=2750) code=c; else code=2500; …

Member Avatar for rubberman
0
190
Member Avatar for yankeefan24

Im trying to check checkboxes based on a cfselect selection. Im trying .prop but is not passing the info to the check box I added p#testing.html to see if the query was working and it is passing info as text based on selection but not to checkbox function roleCallback(text) { …

Member Avatar for yankeefan24
0
361
Member Avatar for Syed Ammar

Q:Write a program that reads characters from the user until a * is entered. Your program displays the count of capital case letters, small case letters, vowels (capital or small) and digits. (Problem) when user enter input char more than 1 digit as(gggg*) then {cout<<"\nPlease Enter Input\n";} repeats 4 times …

Member Avatar for rubberman
0
206
Member Avatar for janicemurby

Hi im getting this error on inobox.php any ideas please Warning: implode(): Invalid arguments passed in /home/jktempla/public_html/SCRIPTS/DATINGSCRIPT/inbox.php on line 199 <?php // Fetch user random for display on bottom <THIS LINE>$idtopuid = implode(',', $topuid);<THIS LINE> <THIS> $userquery = mysql_query("select * from user where user_id != '".$_SESSION['userid']."' and user_id NOT IN …

Member Avatar for janicemurby
0
361
Member Avatar for Shalu.23

how to dynamically insert keys into an existing python dictionary, input is the .json file and the output in a .csv file. this is the input in the .json file [{"FIRSTNAME":"barc","EMAIL":"jahg@jh.com","ADDRESS":"gyuyj"}, {"FIRSTNAME":"rth","EMAIL":"tht@thuyj.com","ADDRESS":"ytju"}, {"FIRSTNAME":"trhy","EMAIL":"klo@pyu.com","ADDRESS":"trght"}, {"FIRSTNAME":"ghy","EMAIL":"ytj@uki.com","ADDRESS":"ukyk"}] output is required as .csv file(in each row its specified columns should be added) "FIRSTNAME":"barc","rth","trhy","ghy" "EMAIL":"jahg@jh.com","tht@thuyj.com","klo@pyu.com","ytj@uki.com" …

Member Avatar for vegaseat
0
257
Member Avatar for DS9596

When I run it, it prints out but the largest and lowest frequency's don't come out correctly? #include <ctime> #include <iostream> #include <iomanip> #include <array> using namespace std; void DisplayNum(int *x); void DisplayData(int *x); void FindMaxMin(int *x); struct NUM { int n; int freq; }; NUM ALL[10]; int main() { …

Member Avatar for tinstaafl
0
163
Member Avatar for miazara

Write a program that calculates how much a person would earn over a period of time if his or her salary is one ringgit the first day and two ringgit the second day, and continues to double each day. The program should ask the user for the number of days. …

Member Avatar for Schol-R-LEA
0
175
Member Avatar for Suzie999

I'm getting an excel range to an array. From my search it was clear I need to use object array. object[,] saRet; oRng = oSheet.UsedRange; saRet = (System.Object[,])oRng.get_Value(Type.Missing); This works fine, but what I really need is for that array to be string. So how might I cast object[,] to …

Member Avatar for Suzie999
0
7K
Member Avatar for Rimi_1

# Heading Here # Im Getting declaration syntax error in void func2 (intc, intd), need help fixing it, and im new to this so i have no idea whats going on.. #include <stdio.h> #include <conio.h> void func1 (int a, int b) void func2 (int c, int d) void main (void) …

Member Avatar for Moschops
0
588
Member Avatar for spud91

Hi guys! I have a database which holds a table called users. in there i have a balance column which contains a numeric value. I have the following code and for some reason it doesnt work: <?php session_start(); include_once("config.php"); ?> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Search</title> …

Member Avatar for jj.dcruz
0
266
Member Avatar for kubi081

I need to play video files which are located under client pc. For this I need to use embedded http server which will be setup on client. [embedded http web server is taken from here](http://www.codeproject.com/Articles/20445/C-Customizable-Embedded-HTTPServer?msg=4370868#xx4370868xx)If there is more advanced one I would like to learn. I'm using jwplayer to play …

Member Avatar for kubi081
0
280
Member Avatar for wilsonchama

Hi guys, I am a new member to the group. I am trying to build an inventory management application using VB.net 2008 express edtion and MS access 2007. I have managed to load the Combo box (cmID) on form(frmSales) with product Ids from tblProducts. I have two textboxes on the …

Member Avatar for wilsonchama
0
210
Member Avatar for nitin1

I have come across one question: find the size of two 2-D arrays when double pointers are given for them.Then find, if we can muliply these two matrices(those mathematics rules). finally we have to multiply the matrices. I have asked this question(small part of this question) earlier also. someone answered …

Member Avatar for Moschops
0
192
Member Avatar for bolfescu

hy im using this script but unf cant find the bug related to update the values, its keep telling succesuful update but dsnt update in db...[Click Here](http://www.script-tutorials.com/datatables-data-from-ajax-edit-in-place/)

Member Avatar for bolfescu
0
218
Member Avatar for Makara

Hello pals. I have a code here that is updating only the last column of my sql database table. how can I upgrade it to work for the rest upper rows please. my code is as follows <?php error_reporting (0); // Connect to server and select databse. $mysql_hostname = "localhost"; …

Member Avatar for Makara
0
3K
Member Avatar for Doogledude123

So, I've written a Custom Binary Format outline but I'm not sure how to translate it to code. I was looking for a few tips on where to get started? Here's my outline. MAPDATA { signature // U24 0x4D, 0x41, 0x50 (MAP) version // U8 0x01 width // U16 (MAX …

Member Avatar for JamesCherrill
0
854
Member Avatar for AntonyRayan

Hi , In a form , I have a field for image , in edit page, i can display that image, when I am clicking update, without modifying image it shows error in image. How to save previous image if its not changed. Sample Code: <span><img src="profile/<?=$rows["upload"]; ?>" id="blah" style="height:25%; …

Member Avatar for alisajjad160
0
193
Member Avatar for chaitu11

My Model : admin_login_model.php Unable to view them in browser as shown in the image below http://i.stack.imgur.com/fychj.png i am working on CodeIgniter version 3 Can anyone tell me what is the issue if ($email === $admin_email && $password = $password) { echo 'credential match'; $this->load->helper('cookie'); if ($remember_me == '1') { …

Member Avatar for alisajjad160
0
298
Member Avatar for Genessis_1

Hi, I am new to google mock so sorry if you think this is an easy question. I am currently testing codes for a project. There are async calls and i am having a hard time checking the sequence of function calls. I cannot share the codes so I'll just …

0
267
Member Avatar for Mahantesh_1

Count Equal Numbers in Text box How ? Hey guys, I want to Know is there any way to Count Similar Numbers which entered in single textbox in VB6 as a example; i have textbox named txt1 in that user can type any value (2,12,23,2,34,12,2,2,23,54,12....) (separate the values by adding …

Member Avatar for Reverend Jim
0
370
Member Avatar for SoferSurfa

Hello everyone, I'm trying to select same "id" for more than one input. My code works with 1 input, but when I add 2 textareas or more my code stops working... Here's my code: *Javascript* *<script> function validateComment() { var value = $("[id=commentbox]").val(); var word = value.toLowerCase(); // make sure …

Member Avatar for Troy III
0
2K
Member Avatar for Venus_1

i have a query that retrieves let's say 10 records. the output should be 10 pdf files. so 1 pdf per records. it can be saved on user's computer. im using fpdf by the way. just wondering if i'm going to develop it through web using PHP will it be …

Member Avatar for Venus_1
0
261
Member Avatar for Nikki_1

Write the nested loop that causes this output below: *It can only use one if statement ( I'm having issues solving it I never solved a nested loop like this one before seriously need some input on how to solve this program) Here is a link the proper image of …

Member Avatar for overwraith
0
420
Member Avatar for Mamed

Hello , I've been trying to figure out this code and determine what's causing the miscalculation on it. Everything seems right for calculation , I don't get why there is if else statement for output screen. This is just a practice question for myself. The High Fashion Department Store wants …

Member Avatar for Schol-R-LEA
0
522
Member Avatar for zrd0808

This is a homework problem; however I just want some direction. I have to write a module graph.cpp that implements djikstra's algorithm. so far i am at the reading in module and am trying to make an array of structures. here is the code. [code=c] // Zachary Dain // CSCI …

Member Avatar for Schol-R-LEA
0
445
Member Avatar for DeanMSands3

Hi, Guys. I'm calculating the correlation coefficient between two HashMaps of Stock Prices keyed on Dates. However, the Dates do not always line up perfectly. So, I need to line-up the two HashMaps by their Keys. Thus far, I'm creating two ArrayLists of the Dates, doing retainAll between them and …

Member Avatar for DeanMSands3
0
2K
Member Avatar for G_S

Hello everyone. I am currently making some database connection modules in Python inb order to learn Python's approach to OOP and also to lear how to connect to databases via Python. I successfully made a package with modules for postgres, mysql, sqlite3, and MongoDB. The classes simply connect, disconnect and …

Member Avatar for Gribouillis
0
524

The End.