General C++ Programming - May 2013 (Page 13)

by tgckpg
The best way to match and replace
 
I have a large table of words need to process. Since it needs to handle massive call. I want this process can run as fast as possible. What I've tried: declari...
[7 replies] Last: You can simply have the first array sorted and apply to it either std:... (by vlad from moscow)
Why is Python becoming popular among C++ developers
 
Hi all, Lately, people from the "C++ world" are speaking a lot about the Python language. C++ authors such as Bruce Eckel say good things about it. Many job ...
[3 replies] Last: Thanks for the answers, now I can see some possibilities. If anybody ... (by gomesrod)
Generate SHA hash
 
hey guys im trying to generate a sha256 hash with std string, but i can't get this incomplete code puzzle to work, im a bit frustrated with this one http://www...
[1 reply] : I almost sure that byte is a typedef for char or unsigned char (ot int... (by MiiNiPaa)
queue push crashes
 
I am getting this message on queue push: Access violation reading location 0xffffffffffffffff I don't understand why, so i don't know how to fix it....
[2 replies] Last: Yes, thats it, love you man. Thank you very much. I don't know how did... (by morando)
Getting Date & Time ( Getting wrong result )
 
Hi,I'm new to C++ and trying to get time before & after executing for loop. After executing for loop it points same datetime. My code is below, class DateTi...
[2 replies] Last: Hi MiiNiPaa, Thanks for your valuable answer. Its working perfectly. ... (by Ravi Prabakaran)
Want to access a method form .cpp file
 
Guys, Just want to know how to acess a method from a .h file in another .cpp file Correct my code below show. Ex: // main.cpp #include <iostream> #include...
[4 replies] Last: When I tried to compile, I got some more errors, but this is the worki... (by Fransje)
It either prints correct value of vowels or the correct value for 'to' & 'these' but never both
 
#include<fstream> #include<iostream> using namespace std; int main() {char ch ,c; int count1=0; int count2 =0; int count3 =0; ifstream fin; ofstream fou...
[2 replies] Last: Any suggestions on how to do it in one loop itself? That would me most... (by Abhi Moz)
substring, loops and writing to a file
 
Here are the requirements for a project I am working on. Write a function that will write only unique ip addresses to a file (just the ip address, not the enti...
[1 reply] : First a few comments: 1. Try not to use global variables. Your functi... (by ats15)
by Kronus
Check for clicks within an object
 
Writing this code that handles clicks with the left mouse button. But I want to be able to check for clicks within a 200x200 pixel area. Here's what I have: v...
[2 replies] Last: @ats15 Sorry for not being clear, as the top code is fine. It's the c... (by Kronus)
Question about destructors and objects
 
I am reading Herbert Schildt's c++ book.In the book,there is an example code: #include <iostream> #include <cstring> #include <cstdlib> using namespace s...
[3 replies] Last: Thanks for your answers. (by Awareness)
by Zoo
Class Templates
 
I would like to convert a value into a string, and extract a value from a string. And then call these functions in the main. template<class T> string toStr...
[3 replies] Last: Thank you very much guys. I appreciate it. (by Zoo)
Sending Executable Files
 
Hello! I am just wondering if it is possible to send a project to someone via email - In a simple way, almost like you would install software from the internet,...
[5 replies] Last: You are correct on that. just payed a visit to the Dropbox site. thank... (by Vauxhall)
TChart Data Files (you must see)
 
Hello Guys, i really need help here, i'm learning C++, i'm newbie then i don't undestand much about C++ coding. I'm new in forum too, i don't have time for read...
[no replies]
Knight's Tour
 
Sorry for the wall of text. Hey guys so i'm absolutely stuck trying to figure out the Knight's Tour problem(If you're not familiar with what this is just g...
[1 reply] : Here's what I have so far: #include "knight.h" //header file contai... (by ClydeWilliams)
by szandi
XML read and write using Lib CMarkup
 
Dear All! i really need your helping, how to read and write XML in using CMarkup.h and CMarkup.cpp? for example input XML file: <start> <entry> <term>x...
[no replies]
my project just open and close fast!
 
hey! im learning c++ and im currently using this tutorial http://www.youtube.com/watch?v=VJGqalveGmM&list=WLC0F667FF731AB334 i tryed fixing it but i cant find o...
[7 replies] Last: system("PAUSE") if you're a windows user. use std::cin.get(); Why?... (by keskiverto)
calendar with matrix of char
 
I'm trying to create a calendar with matrix of char, but my method (gera_calendario) for printing numbers isn't correct. Here's my code. Thanks #include <ios...
[no replies]
heeeeeeeeeeeeeeelpe please
 
Howe can i desply the average of 100 values in c++ 2008 if someone wants me to post the full question I will Just respond please I need it quickly thi...
[4 replies] Last: Yeah, I agree. Learn if that code works or not. Don't ask me to do e... (by Exiled)
cURLpp - Help
 
Hello, I have recently decided that I would give cURLpp a try. I seem to be hitting a wall with it though. I have gotten to the point where I save the HTML t...
[no replies]
by TMoney
How would I write this program?
 
Here is what the program needs to do: Write a program which allows the user to read a list of numbers from a data file. If the user specifies a data file wh...
[13 replies] Last: Why don't you show what you can do first and then come here to ask qu... (by SamuelAdams)
May 2013 Pages: 1... 1112131415... 47
  Archived months: [apr2013] [jun2013]

This is an archived page. To post a new message, go to the current page.