Hi, I'd like to know how to convert a file into PDF when I'm programming in VB. Do you have the script or if there is a pre-defined function, what is it's name?
Thanks
The book Beginning Linux Programming (3rd ed) says
"Note that fread and fwrite are not recommended for use with structured data. Part of the problem is that files written with fwrite are potentially nonportable between different machines."
What does that mean exactly? What calls should I use if I want to write a portable structured data reader or writer? Direct system calls?
Is there any ReSharper/StyleCop-like Visual Studio addon for C/C++?
I'm using ReSharper and StyleCop addons every day. Just recently started a new project which involves C/C++ programming. I miss some features from these addons like code formatting, hints/tips to use cleaner and better code, documentation/uniform code requirements, optimizing includes and so on....
Hello,
Recently I stumbled upon this curious question: What is importing for yourself when programming: process or result?
I found myself that I love outcome, when everything is done! So I tried to ask some colleagues at work, but all of them responded that they like the development process the most. Myself I like process too, but not as much as outcome. So to which people category you belong too? And if there is a reason, could you express why?
I found this question, and it mentions the FlashDevelop wiki. However, I couldn't find anything there at all.
Where is a good place to start? I have done some work with MXML projects using the Flex SDK, but never any ActionScript programming.
I want to get a new laptop and not sure what display size is the optimal. I need it for programming while I'm traveling. So the balance is between portability and usability.
My old laptop is 15.4" and I think it's big and heavy for travel.
Hi,
We were given an assignment to develop a prototype for a customer community. It was suggested PHP as the programming language. (but we're not supposed to actually code it, just a prototype with documentation is required)
I'm wondering what are the best practices/ tools used in Unit testing, Integration Testing and System testing for such a php app
Thanks
If I have several OS-X Terminal.app windows open, how can I move one Terminal window to another space?
I'm happy to use any scripting or programming language to achieve this, but would prefer AppleScript or calls to standard frameworks.
(Note this is to move only one window of an application not all windows.)
What is the best editor for Autohotkey with regards to syntax hightlighting, command completion (intellisense), testing etc.
I am doing a bit of Autohotkey programming, and being spoiled rotten by Visual Studio, I really miss these features - especially being new to the language/framework.
I have a bunch of JLabels and i would like to trap mouse click events. at the moment i am having to use:
public void mouseClicked(MouseEvent arg0) {
}
public void mouseExited(MouseEvent arg0) {
}
public void mouseEntered(MouseEvent arg0) {
}
public void mousePressed(MouseEvent arg0) {
}
public void mouseReleased(MouseEvent arg0) {
System.out.println("Welcome to Java Programming!");
}
I was wondering if there is a tidier way of doing this instead of having a bunch of events I do not wish trap?
When I first launched the Visual Studio (I just installed it) I choose the default programming layout (Visual C#/Visual Basic.NET/ F#/etc) as Web Development. It gave some error that it couldn't find the layout scheme or something and now it says Cannot Open Window.
Is there some way to reset the selected layout option?
I am relatively new to world of programming. I have a few performance questions:
Do console apps run faster than apps with a graphical user interface?
Are languages like C and Pascal faster than object oriented languages like C++ and Delphi? I know language speed depends more on compiler than on language itself, but do compilers for procedural languages produce faster code than OO ones (including C++ compilers that can produce C code)?
I have an idea for an Eclipse plugin which I've been toying with. I need to be able to extend the Eclipse Java Editor component and add coloured overlays to the code based on pluggable external metrics. Unfortunately there doesn't appear to be any kind of syntax highlighting extension point.
Does anyone know how I might be able to extend the exisitng eclipse Java Editor to add custom highlighting rules?
Bear in mind I'm new to Eclipse plugin programming so please give as much detail as possible.
What is the difference between Service Provider Interface (SPI) and Application Programming Interface (API)?
More specifically, for Java libraries, what makes them an API and/or SPI?
Are there any programs or way to get a specific icon or any icon for that matter into a minimized window?
The reason why I ask is that I hate having 3 or more windows of the same program minimized on my taskbar using the same icon. When I want to open up the program i'm not sure which window to activate.
-edit
I'm asking for a program to do this for me, not a programming technique
I'm currently a junior in high school and I've been slacking off on my community service to develop websites and do some personal projects in C#. Currently, I'm developing an web-based IM-Chat through node.js (the server-side Javascript). If I were to post this or other projects on Github or on Google Code, could this be considered community service?—to the programming community?
Which one is better to use when it come to return value for example
public int EmployeeAge
{
get{return intEmployeeAge};
}
And
public int EmployeeAge()
{
return intEmployeeAge;
}
Which one is better and why? And what is best programming practice to use when we have secnario like above ?
Hi there
I'm cs student and we did some unix programming at school, but most of use are using windows os. I have decided to go on ubuntu. Besides installing ubuntu and using it, what book will teach me the "must" things to know about *nix OS?
Hi,
I'm a PHP programmer and I really want to increase the quality of my code and most importantly I want to be better at programming.
What book, tutorial or article would you guys suggest that I read that teaches how to make programs that are less coupled and easy to maintain? Are there any specific tips for PHP especially for the CakePHP framework?
Thanks in advance!
I want to print a table of the colours used in a web page that my graphic designer has produced - I have .png files at present and use Fireworks to view them. It would be great if there was a tool that lets you print a table with the colour and hex value so I can easily reference when programming.
Anyone come across such a thing? Sounds to me like there should be a firefox extension or similar?
How would gmail have implemented this feature?
What technologies go behind enabling such features?
Any pointers or programming resource would be useful?
It could be language neutral or specific to any language?
Do you think they do something with antlr etc., to achieve the above?
Perl has been one of my go-to programming language tools for years and years. Perl 6 grammars looks like a great language feature. I'd like to know if someone has started something like this for Ruby.
if i add string in a TextView for example,
this is my string
and TextView max length is 4
It should look like in activity this... or t... that means string continue sign at the end of assigned string if string size is bigger than Max length.
Can any one guide me what should i do or i will have to manually add "..." at the end of string through programming.
Any help would be appreciated.
I also want the books to be no older than 1 year old. And by textbook i mean i want the author(s) to go into the syntax,semantix,structure of the programming language as well as provide questions/mini projects to test what you learned after every section/chapter.