- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 31
- Posts with Upvotes
- 29
- Upvoting Members
- 26
- Downvotes Received
- 15
- Posts with Downvotes
- 13
- Downvoting Members
- 10
Re:
Dears I have windows 7 home premium on my computer wich has is 32- bit operating system & 2G memory but it runs very very slow it takes 30 second to open any window i cant figure out what is the problem the hard drive have 60% free space, thanks … |
|
Re:
So I was writing a program that would take a string from clipboard, do some stuff and put the new string back to clipboard. My code so far is posted below. The problem is I want my program to wait for me until I 'ctrl+C' something. I know that `GetClipboardData()` … |
|
Re:
I am trying to build a code that outputs user input a certain way. I need to take user input to store 10 statistics for 3 players over 2 games, and then have the code ask the user which player they would like to see. Instead of showing the stats … |
|
Re:
Hi, Where should I get the information to start learning about artificial intelligence? For example, last year's Google Science Fair winner did a project on artificial intelligence, and she mentioned in her interview that she heard about it, bought a programming book with no prior experience, and continued from there. … |
|
Re:
Chaps, I have run into some strange behaviour never seen it before, and it is really giving me a huge headache. I wonder if anybody can help me to understand why this is happening. Here is the link: http://antobbo.webspace.virginmedia.com/various_tests/floatProblem/test.htm Look at the squares labelled 1,2,3,4 inside the red div. They … |
|
Re:
I have the following structure: CObject { protected: char *mName; public: CObject(char *n) { mName=strdup(n); } }; CVector:public CObject { char *mValues[50]; int mElements; public: CVector(char *n):CObject(n) {} }; CMatrix:public CObject { char *mValues[50][50]; int mLines; int mColumns; public: CMatrix(char *n):CObject(n) {} }; My main function: int main() { pV=new … |
|
Re:
I have an abstract class CArticle and two derived classes CBook and CMagazine. I also have a class CLibrary where i want to add articles. Its members are an int variable to count the articles and a double pointer of CArticle. I have the following main function: int main() { … |
|
Re:
Hello everyone, I am new to programming and I was wondering if anyone could help me out. I have hundreds of CSV files in a folder that I need to edit and resave. Can anyone give me a bit of code to start me off properly? |
|
Re:
I've googled for a while and found few things (I hate using external libs such as cURL) and I don't really have experience with HTTP, so the question is: how can I interact with websites using sockets? so something like this: 1. I connect to the website 2. I store … |
|
Re:
Greetings, this is my first time posting here, I've been a long time lurker. I have a lab assignment which is: > Write an application where you ask the user to input the price per letter (PPL), and then ask the user to input the sentence they want printed. The … |
|
Re:
Hi, I have a backgroundthread where I in this moment is using: while (runsomeCode == false) { Thread.Sleep(1); } to wait for "runsomeCode" will turn to: 'true' from another thread, which is button9_Click in this example. However, using Thread.Sleep(1) doesn´t seem to be a very effective way. I wonder if … |
|
Re:
hey there, i need help solvings my lab assignment in chapter 5: control structure II (repetition) 1. write a program that: a. prompt the user to enter an integer number x greater than 1. b. use a flag-controlled while loop to check whether the entered number x is prime or … |
|
Re:
Declare an array of function pointers that return a pointer to a func that in turn return a pointer to a char array. can you helpme in this . i have doubt in the last thing. if at the last it is "return a pointer to char", then i can … |
|
Re:
I want to open any website using me c++ program. But don't know ho it will be done, please help me. |
|
Re:
I hope this is the correct area for this post, I'm not to sure where it would fall into, regarding SSH ? Onto my question, is there a method to access Vi or Nano to find the exact path where a directory lies in the <root> directory ? |
|
Re:
I am getting the following error on my home page. I am new to php code and this one is looking pathetic on my wordpress site. any help would be highly appreciated. The error is as below: Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given on line 39 … |
|
Re:
Ive actually managed to get DirectX 9 working with Direct X, however i am now getting odd error messages around a function. I can't see any syntax issues myself but thought i'd check to see if anyone can shed any light on it. `g_pd3dDevice->CreateVertexBuffer( 3 * sizeof(CUSTOMVERTEX) , 0, D3DFVF_CUSTOMVERTEX, … |
|
Re:
Hi, I have 2 different applications(Application 1 and Application 2) that have a critical area of code where only 1 application can be a time. The solution I have come up with is to use a lockfile so the application knows about when the other application is in the critical … |
|
Re:
i installed alchemyAPI with python 2.7 on the desktop and it runs perfectly but when i saved the file to a live server whenever i try running the example files on aclemy i got the error. "Syntax Error near unexpected token `('" I checked the syntax python syntax and its … |
|
Re:
Hello, This code is from "Test Your C Skills" Book. In the book they have mentioned that this code won't work, and thats true. But I am not able to understand, why its not working. Please explain why it gives error. #include<stdio.h> #define SWAP(a,b,c) c t;t=a;a=b;b=t; int main() { float … |
|
Re:
Hi All, I have a problem to extract data from a text file. My file looks like *KEYWORD 10. 30. 50. 40. 50. 60. 0. 15. 25. llllllll KEYWORD 11. 31. 50. 40. 51. 60. 0. 15. 26. llllllll* My aim is to extract second datapoint by using first keyword. … |
|
Re:
I have a directory called 25 and I want to print the list of files in that directory using PHP. How can I ? |
|
Re:
I have 2 processes (producer and consumer) sharing an int deque in shared memory, I have the producer process put 2 numbers in the deque and then it gets in a wait state losing its mutex lock. I then have the consumer process removing the numbers and printing them. It … |
|
Re:
PLEASE TELL ME A THREE DIMENSIONAL ARRAY WITH EXAMPLE . WRITE COMMENT ALSO |
|
Re:
/* ############ Project Name : TIC TAC TOE ############ CODED BY ############ > Faysal Ishtiaq Rabby ############ ~ Student ID : 120909 ############ Khulna University, Bangladesh. */ #include "stdafx.h" #include<stdlib.h> int main() /* Declaring Variables */ char gamestart; char pos_input[]={'1','2','3','4','5','6','7','8','9'}; int gameloop, option_position,input,flag=0,player_number,rand_int,i; /* Variable Declaration Finished*/ printf("Press \"ENTER\" to … |
|
Re:
I keep getting this error on a sample that a c++ book provides. " **error C2660: 'std::vector<_Ty>::empty' : function does not take 1 arguments 1> with 1> [ 1> _Ty=std::string 1> ** ] " I have some suspicious what can be causing the error but I am not sure. the … |
|
Re:
Hello fellow PHP trained monkeys :D I am trying to find a way to have a basic CMS management system but to be dynmic on one PHP page only, the most part works for the first time of selecting the username, and then from either add or minus buton. The … |
|
Re:
Hi everybody, I’m having trouble trying to figure out how to create a loop when the ‘difficulty’ takes a value that is not an integer. I want a player to get the ‘default’ statement presented in the switch . The ‘default’ statement seems to make an appearance but it will … |
|
Re:
<?php $mysqli = mysqli_init(); $mysqli->real_connect("mysq.x.com","me","wordup","inthekitchin"); if ($mysqli->connect_errno) { echo "Failed to connect to MySQL: (" . $mysqli->connect_errno . ") " . $mysqli->connect_error; } $res = $mysqli->query("UPDATE plate1 SET potatoes =('$_POST[potatoes]') WHERE id =('$_POST[id]')"); $row = $res->fetch_assoc(); ?> returnes error `Fatal error: Call to a member function fetch_assoc() on a non-object … |