Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 140 results for
cq60
- Page 1
[Help] unkown .lev file decrypted
Programming
Game Development
15 Years Ago
by duo8668
Hi all, Sorry to interrupting, I am very interested with the game development and I found 1 of my game file and i decrypt it because the original file doesnt show. Can anyone help me to explain about it or any tools that can let me understand it ? Thank you very much. [CODE] . t …
sorry about my post earlier regarding a restaurant menu.please help me .
Programming
Software Development
10 Years Ago
by <iostream>
guys help with this. sorry about my post earlier. im just new here in daniweb comm. i dont know the rules yet. i have a problem . i don't know the correct equation for this one. i don't get the correct answer .please help. amount=amount+price*quant; is this correct? #include<iostream> #include <windows.h>…
c++ program that would display the menu of a restaurant
Programming
Software Development
10 Years Ago
by <iostream>
guys sorry about my post earlier . this is what i did with my program but i dont think my equation is correct because whenever i want to get the total amount due it always give the wrong amount . i dont thinks this equation is correct "amount=amount+price*quant;" guys i need your help. Thank you! #…
Help my virus problems with logs and evidence
Hardware and Software
Information Security
18 Years Ago
by helpme64
Hello i have posted under the internet not being able to connect and stuff earlier and sooner or later i got it fixed and downloaded mozilla and sygate firewall and deleted some stuff...Now i cant get online again and once again many things are going wrong. #1 my sygate firewall automatically allows all when i open My Computer or My Shared Folder …
about JPA Inheritance query
Programming
Software Development
9 Years Ago
by zolymo
Hello i have an problem with an inheritance query using JPA (There is my Class Hierarchy) +UsuarioGenerico (MappedSuperclass or Entity - but is Abstract) -+Usuario (Entity) -+UsuarioPorEmpresa (Entity) Then, when i try make an select for Usuario, i not obtain results i try with an NamedQuery: `@NamedQuery(name="Usuario.findAll", query=&…
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in
Programming
Web Development
14 Years Ago
by amail
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in activation.php on line 11 Invalid Validation Code what is wrong here? [CODE]<?php session_start(); include "mysql.php"; $c; if(!$_GET['code'] || !$_GET['act']) { die("Invalid Use Of System."); } else { $code=$_GET['code']; $cq…
Help with blackjack
Programming
Software Development
14 Years Ago
by balloonbob
Hello, need help programming a blackjack game for my computer science class. I have used a cirularlinkedlist to create this game. I have received a null pointer exception error. I think it has to do with my circularlinkedlist class. import java.util.NoSuchElementException; public class CircularLinkedList { private ListNode…
Re: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in
Programming
Web Development
14 Years Ago
by amail
I changed those some lines to: [CODE]$code=$_GET['code']; $cq=mysql_query("select * from confirm WHERE code='$code' ",$c); if(mysql_num_array($cq)== 0)[/CODE] and the new error is: Fatal error: Call to undefined function mysql_num_array() in /activation.php on line 11
Optimize, Fix MySQL Join Query
Programming
Web Development
15 Years Ago
by digital-ether
I'm trying to create an Alpha Numeric List of links. Each alphabet links to a page that will display rows whose titles start with that alphabet or numeral. For each alphabet, I want to get the number of titles that start with that alphabet. This allows me to link only the alphabets that actually have corresponding rows. Here is the structure …
Re: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in
Programming
Web Development
14 Years Ago
by CFROG
If $code is a number this won't make a difference. If $code is a string your queries should look like this [icode]$cq=mysql_query("select * from confirm where code='$code' ",$c);[/icode]
Re: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in
Programming
Web Development
14 Years Ago
by CFROG
Try this instead [icode]if(mysql_num_rows($cq)== 0)[/icode]
need help with mootools scripts
Programming
Software Development
13 Years Ago
by newbie2010
Hello everyone, i'm trying to use 2 mootools scripts together in one source. They work serperately but as soon as i combine them only one is working. It seems they interfere with each other but i can't seem to find the problem. Can anyone help me out? I'll paste them (sorry if that's not the right way) script1: eval(function(p,a,c,k,e,d){e=…
Ajax Validation - add into working code
Programming
Web Development
13 Years Ago
by 1337hovie
Hello fellas, new to posting - but a lurker for a definite minute. I have a working ajax validation function, which works 100%. However, i need to add in 1 extra if statement. I tried writing it, and it's not working. i'll post my working code, and i'll post what i need to get merged. Could be a few issues: 1) I merged it incorrectly, or placed …
Aggregate function or the GROUP BY clause
Programming
Databases
12 Years Ago
by Singlem
[CODE]select CS.Ref, CS.C, DT.ID, DT.Init, DT.Surname, 'C' [P], 'C' [A], 100 [M], case when Convert(Varchar(10),CA.A,120) is null then Convert(Varchar(10),CS.DC,120) else Convert(Varchar(10),CA.A,120) end, C.R, Convert(Varchar(10),C.CDate,120), Do.Outcome, CT.PhysicalOwner, Convert(Varchar(10),…
how to updating data for checboxlist value 0 or 1
Programming
Web Development
10 Years Ago
by syahirah_1
Hi, I have form which is have texbox,radiobutton and chechboxlist.I succesfully to insert the form but my problem is I can't updating my checkboxlist.I set checkboxlist to my db is integer means I get the value 0 or 1. here i give my sample code form. <tr> <td align="center" style="font-…
Re: Optimize, Fix MySQL Join Query
Programming
Web Development
15 Years Ago
by digital-ether
I've ended up using this query, which is basically just the subqueries wrapped up into one query, but I'd like to do this with JOINs if possible. [CODE]SELECT (SELECT COUNT(ma.id) FROM jos_mediaboss AS ma WHERE ma.title LIKE 'a%' AND ma.published = 1) AS ca, (SELECT COUNT(mb.id) FROM jos_mediaboss AS mb WHERE mb.title LIKE 'b%' AND mb.…
how to eliminate all keyboard inputs accept a certain range
Programming
Software Development
18 Years Ago
by bruce3210
hi guys and gals, just a young padawan learner trying to write this poker program from scratch. i know their are programs out their but nothing like the one you write your self. Im trying to have my program read in the number of players from the keyboard input. I have eliminated all the numbers i dont want. but what if someone enters in letters or…
Re: how to eliminate all keyboard inputs accept a certain range
Programming
Software Development
18 Years Ago
by BinaryMayhem
mmhm, there are a few ways of doing this. stoned_coder listed one way. I am in a hurry and have to go... this is what I did. I suggested using atoi... converting a string to an integer and then using your if statment... there is also a function called kbhit... but I dont have time to go into details. as far as removing goto's you should used …
Re: how to eliminate all keyboard inputs accept a certain range
Programming
Software Development
18 Years Ago
by bruce3210
binary mayhem i put in what you wrote with the loop. if i put in a letter it quits the program. when atoi converts it to an int does it convert it to the decimal number of the letter or ascii. when a letter is put in i probaly want to have it loop back again. what about this you think. [code]#include <stdio.h> #include <iostream.h>…
I have a crap-load of viruses and need help
Hardware and Software
Information Security
17 Years Ago
by blahun01
My computer is really slow lately and all my anti-virus programs (ewido, and Norton) say I have a trojan... but Norton couldn't do anything to it and ewido was able to delete some (that keep coming back) and quarintine the trojan dialer, though.... ewido says i have: [B]Trojan.Dialer.qs[/B] [B]Worm.Randon[/B] [B]Downloader.PurityScan.cq[/B] [B]…
cprog integer calculator
Programming
Software Development
17 Years Ago
by aismm
Basically the user enters one of the following + - * / % | < > c q followed by one or more spaces, followed by an integer, and then the newline key to get the answer and the current vaule is set to 0 then it keeps on adding up until the user enter c for clear or q for quit. however, when I run the program, it goes straight to error message…
Re: cprog integer calculator
Programming
Software Development
17 Years Ago
by aismm
ok so I changed gets to fgets, however, it's still not working?? What I mean is when I try to enter calculation such as + 3 it goes straight to default in switch function -- "error: unknown command", did I do something wrong there? [code] #include <stdio.h> #include<stdlib.h> #include <string.h> #include <…
begin 644 msg from script sending file
Programming
Software Development
15 Years Ago
by skelly16
Hi All Anyway of resolving this issue. I have created a script which works properly only issue is occasionaly when the tar.Z file is emailed to me i get this message this only happens sometimes?? begin 644 /var/tmp/aimtl-20080626.txt.tar.Z M'YV08=*TH=.	LP+63 @($#A@T9-ES0P4,'@,6+&#-JW,BQH\>/( $L7&B# M!@V1,&+ H $1)0R%-6"…
Code to remove a certain line
Programming
Software Development
14 Years Ago
by lukechris
Hi, I have done a search so please don't tell me to! :D I have this in a text box: [ICODE]<MenuItem version="1.0"> <item_text> <TEXT default_lang="en" str=""></TEXT> </item_text> <item_help> </item_help> <item_icon> <RIGHT str="softkey1.png" /> &…
circuler queue using array
Programming
Software Development
14 Years Ago
by Iam3R
[CODE] #include<stdio.h> #include<stdlib.h> #define MAX 5 char queue[MAX][30]; int front, rear, temp; void init() { front = -1; rear = -1; } void insert() { if ( rear >= MAX-1 && front == -1 ) { printf("\nQueue overflow"); return ; } temp = rear; rear = ( rear + 1 ) % MAX …
pleeeeeeez Help!!!! Blue Screen of Death trying to install XP
Hardware and Software
Microsoft Windows
14 Years Ago
by o aslan
Hi friends, how are you all. I have COMPAQ PRESARIO CQ-40, windows vista is the OS on it but it's very bad. I want to install XP. but this problem has encountered me [ATTACH]13507[/ATTACH] but I can't solve it so please help..... ***I have done all the instructions without any advantage. What should I do***
Profiling with Qt Creator & gprof
Programming
Software Development
14 Years Ago
by TheWolverine
Hi all, This might be bit of a silly question, but it's stumped me now for over a day and I've scourged the net for info but haven't found anything to sort out what I should be doing. I am currently using Qt Creator 1.3.1 (Based on Qt 4.6.2 (32 bit)) to develop my code. I have a fully functioning program that I would now like to profile. …
segmentation fault
Programming
Software Development
13 Years Ago
by watery87
Hi guys, i compiled a program but i have this vague error message that occured. Searching through google.com states that it might be due to many problems such as invalid pointers, etc, etc. Im a fairly new person to C prog, so i would like to seek your advise on this. Can you guys tell me whats wrong with the code?? Main prog [code] #include…
help.. how to read this?
Programming
Software Development
13 Years Ago
by loveu
PK õS%= META-INF/MANIFEST.MFþÊ óMÌËLK-.Ñ K-*ÎÌϳR0Ô3àårÎI,.Ö H,É°RÐãåòMÌÌÓ‹Y)$è•æå¥é)^.^. PKKÓÏŒB G PK út$= app/PK út$= app/obj/PK út$= app/obj/User.classuQËNÂ@=Û:`Á ¾ßÄÄ&n5nL\AÝšG,ÁbÚâwi¢1qáøQÆ;CXëæ¾zî™sn¿¾?>`'‹v¿Õµ¯|ée‘…
laptop lcd goes blurry
Hardware and Software
Hardware
12 Years Ago
by avikcemk
i have a compaq presario cq-40 327 tu laptop of 2gb ram and 250 gb hd,windows7 32 bit.my laptop is 2 year and 3 month old.now a days ...my laptops lcd screen becomes sometimes blurry.various types of color started cominng into my display..sometimes this problem prevails for few minute and goes back automatically.........& sometime i have to …
1
2
3
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC