|
YAAAAAAY! It worked!
It compiled, but... how do I make an executable? I did this:
g++ -o tfc tfc.cpp
Like I do on Windows, and it generates a file called "tfc", like I specified. But how do I make it executable? I've tried that chmod 755 thing, but it still won't work... None of the tutorials on Google actually tell you how to do it... Could you? Thanks!
Sulfurik K. Nosferathus (Darth_Sulfur)
www.SulfurMidis.com
www.SulfurSoft.tk
http://www.BeepXtreme.tk
[ftp://][http://][hotline://]tsfc.ath.cx
|
|
|
|
|
|
|
i need lex and Yacc files for parsing c++ source code so that it can scan and tell no of classes ,no of functions, no of variables, etc .
So that C K Metric suite can be implemented.
basically i need lex and Yacc files for scanner and parser of C++ source code .
please help me in this regard.
|
|
|
|
|
Hello,
i has a problem, i would like all files of my home directory to list recursive, in a Array or Collection.
Which function do I need?
Could you please help me???
thanks Benjamin N.
|
|
|
|
|
Use Directory::GetFiles
-Atul, Sky Software http://www.ssware.com
Shell MegaPack For ActiveX & .Net - Windows Explorer Like Shell UI Controls
|
|
|
|
|
Thanks,
but I would to prog it self.
Someone can give me an example, please?!?
|
|
|
|
|
Hello, found a solution.
using System;
using System.IO;
using System.Collections;
namespace sharpsite
{
///
/// Zusammenfassungsbeschreibung für DirSearcher.
///
public class DirSearcher {
private string fSourceDirectory = String.Empty;
private string fExtensions = String.Empty;
public ArrayList Files = new ArrayList;
public string SourceDirectory {
get { return fSourceDirectory; }
set { fSourceDirectory = value; }
}
public string Extensions {
get {
if (fExtensions == String.Empty)
fExtensions = "*.*";
return fExtensions;
}
set { fExtensions = value; }
}
public DirSearcher() { }
public DirSearcher(string sourceDir) {
this.SourceDirectory = sourceDir;
}
///
/// Sucht alle Dateien mit den gegebenen Erweiterungen aus dem angegebenen Verzeichnis
///
/// <param name="baseDir" />Suchverzeichnis
private void FindFiles(DirectoryInfo baseDir) {
try {
string[] exts;
exts = this.Extensions.Split(';');
//Dateien suchen
foreach (string ext in exts) {
foreach (FileInfo theFile in baseDir.GetFiles(ext)) {
Files.Add(theFile);
}
}
}
catch { return; }
}
///
/// Durchsucht alle Verzeichnisse rekursiv und ruft FindFiles für jedes Verzeichnis auf
///
/// <param name="baseDir" />Basisverzeichnis
private void FindAllFiles(DirectoryInfo baseDir) {
try {
FindFiles(baseDir);
//Verzeichnisse rekursiv durchsuchen
foreach (DirectoryInfo subDir in baseDir.GetDirectories()) {
FindAllFiles(subDir);
}
}
catch { return; }
}
///
/// Die eigentliche Suchroutine - Aufruf aus dem Hauptprogramm
///
/// <param name="searchSubDirectories" />Unterverzeichnisse durchsuchen?
public void SearchFiles(bool searchSubDirectories) {
this.Files.Clear();
DirectoryInfo di = new DirectoryInfo(SourceDirectory);
if (searchSubDirectories)
FindAllFiles(di);
else
FindFiles(di);
}
}
}
|
|
|
|
|
please, somebody could publish a simple example on SNMP in C++?
Thanks!
Sorry for my english
|
|
|
|
|
Hi there.
I am desperately needing a library that can provide me with basic matrix arithmetic.
I am using a MFC VC++7.1 project for which I want the matrix functionality.
I Need:
>> To multiply matrices
>> Calculate determinant of a matrix.
>> Calculate inverse of a matrix.
>> Calculate transpose of a matrix.
I cannot find a library that is plain straight forward to use with VC++7.1 MFC project.
Please refer me to a library that will work for me???
Thanks!!!
|
|
|
|
|
Any library that you find with google is almost certainly in use by the authors. You could try reading the support forums to see if lots of other people use it and have trouble, then just choose one and bit the bullet to take the time to learn how to use it.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
|
Yeah, but C++/CLI is not as clear a Managed C++ was, IMO
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
|
Yes, it is. I'm just saying that the new name for the forum is confusing.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
|
hi friends,
i got one problem in borland c++5.2.i create number dialog boxes. one dialog box is main dialog box.main dialog box some times coming correct and some times width incresing,height incresing,both incresing.i debuged that dialog box and coorinates coming correct. others dialog box coming correct.i wrote i initial file to initial coordinates all dialog box.this is dialog box coming wrong some times.
any one solution pls give me reply to me
b.raju
-- modified at 9:13 Thursday 8th September, 2005
|
|
|
|
|
hai friends
i got one problem in borland c++. i am doing owl(MFC in VC++) programming.i create one tool. in that tool explore there. after including files, i trying to open files(.xls) and double click particular file one main dialog coming. main problem starts now.
i can fit that dialog box centre of our tool. some times coming act dialog box. sometimes coming width incresing,height increasing and some times both increasing.i debuged that dialog box number times. but dialog coordinates coming correct. i doesnot understand what i can do.
note: my system rarely coming that types errors.in my colleges coming continuely.
any one know solution pls give reply.
b.raju
-- modified at 7:04 Thursday 8th September, 2005
|
|
|
|
|
Hi Raju,
I have a few questions for you !!!!
1. Which operating system you are using?
2. Are you dealing with multilingual operating systems/system setting
Basically, dialog boxes uses Dialig units(DLU) for creating dialog. So your dialog size depends on the font you are using/char set you are using..
Please have a look at this angle..
" Action without vision is only passing time,
Vision without action is merely day dreaming,
But vision with action can change the world "
- Words from Nelson Mandela
Thanks & Regards,
Gopalakrishnan
|
|
|
|
|
Hi Gopalakrishna,
1. using windows xp operating system.
2. system setting.
Thanks & Regards
raju
b.raju
|
|
|
|
|
Hi friends,
I want the details about the type of linked list and its application.
And also I want to have the C++ Program for the,
* Singly Linked list
* Doubly Linked List
* Multi-List
* Linked list implementation for Polynomial
* Payroll Processing using Linked list Implementation.
If you know about the details for these things & also If you have the coding for these program means please send to me.
by,
yours friendly,
R.Vinothkumar
|
|
|
|
|
The STL provides several container classes like list, map,... and algorithms which cover at least a part of your needs.
MS
|
|
|
|
|
I have all the codes you have just mentioned in your qoestion. I can help you by sending you a mail to your id.Mail me requesting the questions and I'll send the codes. My id is ispy1785@gmail.com & spykd2004@yahoo.co.in
inder gujral
|
|
|
|
|
please solve this problem
7
4 5
1 2 3
2 8 9 1
find the maximum sum of the numbers?
condition is ?
we can traverse from root to leaf by
right/left/straight
in the above example ans is:7+5+3+9=24
arun
|
|
|
|
|
Welcome to the real world, kid. This is where you decide to do one of two things
1. Do your own homework, ask questions when you get stuck
2. Apply for a job at McDonalds and move into a trailer park.
Christian Graus - Microsoft MVP - C++
|
|
|
|