- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
80 Posted Topics
Would anyone know how to put user input into a Char Array. I've provided the code below It doesn't work so I've tried many variations like making char wrd as char wrd[20] but still nothing. I think I'm missing a fundamental point here. All I want to do is have … | |
Hi I'm not even sure what you call this kind of thing but I believe 'InDesign' by adobe does this to some extent. I'm looking for a HTML/CSS/Javascript editor all in one. Basically I want to be able to type my HTML/CSS/Javascript code in one screen and see the results … | |
Hi I have found several articles on the web about data compression and encoding. My interest in learning this is to decompress, compressed data in files such as PDF etc which are encoded in one way or another. I'm probably asking the wrong question here. I'm wondering how someone goes … | |
Hi I'm having a little trouble understanding C++ string arguments if that's what you call them. The below example illustrates. I'm not sure I understand what line 14 does. The vector 'myvector' is passed to myfunction (called on line 35. I'm assuming string w takes in the first value of … | |
If I have two bytes representing 117, 117 or 1110101 , 1110101 and I want to concatenate them (technically I know how) then which end attaches to which? I understand they will be arranged in memory depending on endianess but overall, is there a standard way of concatenating bytes. Lets … | |
As naive as this is going to sound, I have to ask it. I have a stream compressed in LZW encoding. I can decompress a stream provided it is in a numerical format. The below I have extracted from a pdf file stream compressed in LZW. I'm assuming the below … | |
Would anyone know of a C++ library which can enable me to encode and decode Ascii base 85 encoding? I'm having trouble finding one on the web. Thanks | |
The below code simply reads the string **"This is a test"** from a text file and displayes it on the console. I've deliberately placed an endline at the end of each time the string is loaded to show that the string is all that is passed to '**mystring**' from '**myfile**'. … | |
I'm trying to call an executable from my VBA code so that I can run it from that code. I can do this using the 'Shell' directive but what I can't do is receive a return value (the output) from that exe file. I'm not sure where to post this … | |
Anyone know how to simulate holding down a CTRL key in C++. I'm using Windows XP. Thanks | |
Hi This is a very conceptual question. I sometimes notice that there are settings or library references I need to make in the linker section of my IDE which is Code::Blocks in this case. I sometimes have to refer to the library file. Lets say, just conceptually, we call it … | |
I'm just wondering what everyone thinks about building from the command line. I've been using Code::blocks with a MinGW compiler but there always seems to be a myriad of problems in building projects. I'm starting to become a little fed up with it's querks though it is probably partially my … | |
I'm trying to use std::ofstream to create a file but I'm getting an error. I'm using a string variable instead of a string. example below. std::ofstream Myfile("C:\\testfile.html"); // This works fine //but the below doesn't string mystring = "C:\\testfile.html"; std::ofstream Myfile(mystring); //doesn't work. Not sure why. Any clues? | |
This is going to look like a very basic question to allot of you but for the life of me I can't find how to do this anywhere on the web. Allot of convoluted solutionsn out there. I simply want to save a textfile as a .html file. Having seriouse … | |
I'm trying to build LibJpeg using a MingW compiler.. I have no idea given the massive list of makefiles in this zip file why I can't find one compatible with MingW?? Does anyone have any clue as to why they have left this out. Could someobody (and I mean this … | |
Does anyone know how to call a binary executable file from another program. I have a simple binary file which can take command line arguments called **InputProgram.exe**. I have made another program of which I want to call InputProgram from and pass it an argument. Not this is going to … | |
I'm building pdf software with multiple dependencies (podofo) and when compiling I'm getting the errors. error: conflicting declaration 'typdef short int unit 8' error: conflicting declaration 'typdef short int unit 16' Would anyone know if there a CXX Define command I can use to bypass these errors? My CXX flags … | |
I just build Boost_1_52_0 and the resulting Boost Include directory and Lib directory appeared outside the boost directory folder. Is this supposed to happen? I placed a directory on my C drive called 'Boost' (C:\Boost). I then unzipped the contents into that folder. Another folder containing the boost source code … | |
I'm building a C++ applicaiton and have very little to do with HTML in the past. I'm using wxwidgets at the moment but want to try to use HTML. Is that realistic? With HTML can I build a GUI and use it like a normal GUI or am I missing … | |
Has anyone ever used PLPLOT. I'm trying to compile one of the examples (which build successfully during the plplot build process) but I want to build the example individually. It's proving very challenging. A million linker errors and no clue on their website as to what is going wrong. I've … | |
Anybody know what the below means. I'm building Gnuplot on Windows XP with a MinGW compiler. It could have something to do with the flags at the top of the message below but I don't know how to work that out. Error starts 8 lines down. gcc -DHAVE_CONFIG_H -I. -I.. … | |
I'm trying to build libgd and can't seem to get past this error. It configures without error but when I go to make Install the below error occurs. Would anyone know how to get past this? WinXP, MingW. Thanks. gdfontg.c:4380: error: variable 'gdFontGiant' definition is marked dllimport gdfontg.c:4380: warning: 'gdFontGiant' … | |
Heyall. I'm trying to use the sqlite3_exec function and am having trouble with the callback feature. I've placed my code below. I realise the callback function provides and argument void *data and the sqlite3_exec function provides a const char *data variable. That is where I'm getting the error. I've searched … | |
Wondering if anyone has used SQLite. I'm having trouble with the basics. sqlite3_get_table function. The Apress book 'The Definitive Guide to SQLite' provides the following example. The first problem is that when declaring char *result[]; Things start to go wrong. I get an error message saying that *'the size of … | |
I'm trying to compile a project using Code::Blocks with a MinGW compiler (Windows XP). I have included the correct library file from boost and set the right include path but it doesn't seem to make any difference. Here's the error. The impression I'm getting is PdfContentsGraph class is not initializing … | |
I've installed the boost libraries binary version. How do I link this to my project? I've put the boost/bin path in my 'Path' environmental varialbe. Thanks | |
Does anyone know were to find ws_win32.lib in windows? I have to link against it in an application but I can't find it. I'm using windows xp. What is it anyway? Thanks | |
Would anyone know how to install pre-compiled binaries. I want to use GLIB and have downloaded the pre-compiled binaries. I'm running Windows XP and have a MinGW compiler. I've googled this but i'm having trouble making sense of it. There must be a standard way of doing this. Thanks | |
I've managed to generate a Pkg-Config makefile using MSYS in the configure process and when I've tried to build it I've got the below errors. I'm thinking there might be a basked meaning for these kinds of errors. Any clues as to what it is. This is for pkg-config 0.27.1 … | |
I'm tryhing to configure, then build f**ontconfig version -2.10.1** on **Windows XP**. My compiler is **MinGW 4.4.1.** Initially I try to configure this using MSYS and I get an error telling me I'm missing **intl.dll** . I eneded up downloading this then runing the **./configure** command again and I get … | |
I'm using a MinGW compiler. Anyone know how to fix this error. I found something on the web where the flag should have a macro such as CXX_HAS_CSTDDEF but this is for a different compiler. What should I use for MingW is this is the problem? Is this common?? In … | |
I'm trying ot build a podofo library and it gets up to 65% and the below error occures. The entire code snipped is below. Not sure what this means or the faintest idea on how to fix it. Basically I've generated a makefile with CMAKE and tried to bild the … | |
I'm trying to build a CPP library and have set the CPP Include path as below. I Am using Windows XP with MinGW compiler. VARIABLE NAME: CPLUS_INCLUDE_PATH VARIABLE VALUE: C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++ I have restarted my PC several times but I still get an error message telling me that the file it … | |
Would anyone know what the PNG Include directory variable should be for CMAKE. I can't seem to find a Cmake module to search for PNG in the program which depends on LIBPNG (unlike all it's other dependencies). I've been using PNG_INCLUDE_DIR but CMAKE doesn't seem to recognise it? thanks. | |
How do I set the CMAKE_INCLUDE_PATH? Also... How to I set the CMAKE_LIBRARY_PATH? All i know about CMAKE is that is is a GUI with very limited options. Where do I put these variables and why do I set them? How do I set them? Thanks | |
I'm looking for some key works which could sum up the below. I'm going to purchase a book or a few books to help me understand these areas. Would anyone be able to suggest books or a book on this topic. The topic is: I want to understand more about … | |
I'm trying to build libpng which has worked up to a point. I'm using Windows XP, and have a MingW compiler. I also have MSYS installed and am using it to configure libpng. The issue I'm having is that libpng can't find zlib. I've tried every variation under the sun … | |
What language are CMAKE Makefile (CmakeLists) written in? As for other Makefiles are they written in the same language. For example a Makefile.gcc to be compiled using a MingW compiler? | |
I'm trying to install podofo (pdf library) for use with MingW in Windows XP. It requires zlib. I'm using CMAKE to generate the makefile. For some reason, CMAKE, no matter how many times i redirect the ZLIB_LIBRARY to the zlib directory an error in CMAKE occurs telling me that it … | |
Has anybody ever installed libjpeg for windows. I have a MingW compiler, MSYS if needed and the instructions are leading me nowhere. It seems to require an understanding of one thousand obsolete systems to get anywhere. Must I have MSYS installed? Can I install using the windows CMD Prompt? Is … | |
Would anyone know what the man directory in windows is? What does this mean. I'm trying to install some opens source program called libjpeg and I'm getting an error when I try to install it. The error is telling me that there is no such file or directory when it … | |
Does anyone have any experience with PODOFO [Click Here](http://podofo.sourceforge.net/index.html). I've read everything they have to offer and I admit, some of their points are a little advance for me. I'm trying to determine whether PoDoFo can be compiled as part of my c++ application so that my application is standalone. … | |
Would anyone know what this kind of syntax means. Its in reference to a library I want to include in my c++ applicaiton. It takes this form. Where can I read up about this. I've tried a google search but I'm not sure what to search on. #include <name/name.p> //what … | |
I'm not sure how to ask this but here it goes. I am building a C++ application, in this case I'm building it in Code::Blocks with a MingW compiler. I want to incorporate/utilize/whatever, SQLite into my applicaiton by **including** (#include) the sqlite C code header file sqlite3.h in my project … | |
I'm finding it difficult to understand how to get a start on SQLite... I know there are allot of tutorials out there but they all seem to go off on some tangent. Even the books is vuage on how to go about incorporating it into a C++ project. This is … | |
Would anyone know if there is a specific directory for any IDE, in this case I'm using DevC++ on Windows XP and have a button widget from WXWidgets which can contain a Bitmap Image (wxBitmapButton). I can't understand the documentation surrounding this control but all I want to do is … | |
I'm having a little bit of trouble getting a start on WXWidgets. Sure, I can add the controls to the Frame though I'm a little stuck on how they should work. I know how to use the standard events already built into WXWidgets but there's something else I need to … | |
I'm trying to understand something. Best explained through an example. My understanding is that a Class Adapter (lets say written in C++) is for a class written in PHP (hypothetical). C++ - Class A - Adapter PHP - Class B - Adabtee. If I'm trying to access Class B through … | |
Hi Anyone know of a compatible charts Library for inserting charts into a PDF file created by PODOFO? I was thinking of Gnuplot but not sure if there's a better option out there. Thanks danny2000 | |
My initial thoughts on the default constructor are that it was called automatically. From what I can see, it seems that this is so but a constructor called automatically doesn't initialize int or char variables for exampe, to Zero as I originally thought. It appears that they initialize the variable … |
The End.